package com.qianwen.smartman.modules.coproduction.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/PlanSubmitVO.class */
|
public class PlanSubmitVO {
|
@ApiModelProperty("id")
|
private Long id;
|
@ApiModelProperty("计划类型id")
|
private Long typeId;
|
@ApiModelProperty("计划编号")
|
private String code;
|
@ApiModelProperty("订单编号")
|
private String indentCode;
|
@ApiModelProperty("计划类别:1 产品计划 2 来料计划")
|
private Integer category;
|
@ApiModelProperty("所属产品id")
|
private Long productId;
|
@ApiModelProperty("所属产品编码")
|
private String productCode;
|
@ApiModelProperty("所属产品名称")
|
private String productName;
|
@ApiModelProperty("产品bom主键")
|
private Long bomId;
|
@ApiModelProperty("所属bom版本id")
|
private String bomVersion;
|
@ApiModelProperty("所属产品工艺id")
|
private Long craftId;
|
@ApiModelProperty("所属产品工艺名称")
|
private String craftName;
|
@ApiModelProperty("所属工艺版本id")
|
private Long craftVersion;
|
@ApiModelProperty("所属工艺版本名称")
|
private String craftVersionName;
|
@ApiModelProperty("计划数量")
|
private Integer planNum;
|
@ApiModelProperty("计划开始时间")
|
private Date planStartTime;
|
@ApiModelProperty("计划结束时间")
|
private Date planEndTime;
|
@ApiModelProperty("规格型号")
|
private String standardModel;
|
@ApiModelProperty("扩展字段 json格式")
|
private String extendField;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setTypeId(final Long typeId) {
|
this.typeId = typeId;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setIndentCode(final String indentCode) {
|
this.indentCode = indentCode;
|
}
|
|
public void setCategory(final Integer category) {
|
this.category = category;
|
}
|
|
public void setProductId(final Long productId) {
|
this.productId = productId;
|
}
|
|
public void setProductCode(final String productCode) {
|
this.productCode = productCode;
|
}
|
|
public void setProductName(final String productName) {
|
this.productName = productName;
|
}
|
|
public void setBomId(final Long bomId) {
|
this.bomId = bomId;
|
}
|
|
public void setBomVersion(final String bomVersion) {
|
this.bomVersion = bomVersion;
|
}
|
|
public void setCraftId(final Long craftId) {
|
this.craftId = craftId;
|
}
|
|
public void setCraftName(final String craftName) {
|
this.craftName = craftName;
|
}
|
|
public void setCraftVersion(final Long craftVersion) {
|
this.craftVersion = craftVersion;
|
}
|
|
public void setCraftVersionName(final String craftVersionName) {
|
this.craftVersionName = craftVersionName;
|
}
|
|
public void setPlanNum(final Integer planNum) {
|
this.planNum = planNum;
|
}
|
|
public void setPlanStartTime(final Date planStartTime) {
|
this.planStartTime = planStartTime;
|
}
|
|
public void setPlanEndTime(final Date planEndTime) {
|
this.planEndTime = planEndTime;
|
}
|
|
public void setStandardModel(final String standardModel) {
|
this.standardModel = standardModel;
|
}
|
|
public void setExtendField(final String extendField) {
|
this.extendField = extendField;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof PlanSubmitVO) {
|
PlanSubmitVO other = (PlanSubmitVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$typeId = getTypeId();
|
Object other$typeId = other.getTypeId();
|
if (this$typeId == null) {
|
if (other$typeId != null) {
|
return false;
|
}
|
} else if (!this$typeId.equals(other$typeId)) {
|
return false;
|
}
|
Object this$category = getCategory();
|
Object other$category = other.getCategory();
|
if (this$category == null) {
|
if (other$category != null) {
|
return false;
|
}
|
} else if (!this$category.equals(other$category)) {
|
return false;
|
}
|
Object this$productId = getProductId();
|
Object other$productId = other.getProductId();
|
if (this$productId == null) {
|
if (other$productId != null) {
|
return false;
|
}
|
} else if (!this$productId.equals(other$productId)) {
|
return false;
|
}
|
Object this$bomId = getBomId();
|
Object other$bomId = other.getBomId();
|
if (this$bomId == null) {
|
if (other$bomId != null) {
|
return false;
|
}
|
} else if (!this$bomId.equals(other$bomId)) {
|
return false;
|
}
|
Object this$craftId = getCraftId();
|
Object other$craftId = other.getCraftId();
|
if (this$craftId == null) {
|
if (other$craftId != null) {
|
return false;
|
}
|
} else if (!this$craftId.equals(other$craftId)) {
|
return false;
|
}
|
Object this$craftVersion = getCraftVersion();
|
Object other$craftVersion = other.getCraftVersion();
|
if (this$craftVersion == null) {
|
if (other$craftVersion != null) {
|
return false;
|
}
|
} else if (!this$craftVersion.equals(other$craftVersion)) {
|
return false;
|
}
|
Object this$planNum = getPlanNum();
|
Object other$planNum = other.getPlanNum();
|
if (this$planNum == null) {
|
if (other$planNum != null) {
|
return false;
|
}
|
} else if (!this$planNum.equals(other$planNum)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$indentCode = getIndentCode();
|
Object other$indentCode = other.getIndentCode();
|
if (this$indentCode == null) {
|
if (other$indentCode != null) {
|
return false;
|
}
|
} else if (!this$indentCode.equals(other$indentCode)) {
|
return false;
|
}
|
Object this$productCode = getProductCode();
|
Object other$productCode = other.getProductCode();
|
if (this$productCode == null) {
|
if (other$productCode != null) {
|
return false;
|
}
|
} else if (!this$productCode.equals(other$productCode)) {
|
return false;
|
}
|
Object this$productName = getProductName();
|
Object other$productName = other.getProductName();
|
if (this$productName == null) {
|
if (other$productName != null) {
|
return false;
|
}
|
} else if (!this$productName.equals(other$productName)) {
|
return false;
|
}
|
Object this$bomVersion = getBomVersion();
|
Object other$bomVersion = other.getBomVersion();
|
if (this$bomVersion == null) {
|
if (other$bomVersion != null) {
|
return false;
|
}
|
} else if (!this$bomVersion.equals(other$bomVersion)) {
|
return false;
|
}
|
Object this$craftName = getCraftName();
|
Object other$craftName = other.getCraftName();
|
if (this$craftName == null) {
|
if (other$craftName != null) {
|
return false;
|
}
|
} else if (!this$craftName.equals(other$craftName)) {
|
return false;
|
}
|
Object this$craftVersionName = getCraftVersionName();
|
Object other$craftVersionName = other.getCraftVersionName();
|
if (this$craftVersionName == null) {
|
if (other$craftVersionName != null) {
|
return false;
|
}
|
} else if (!this$craftVersionName.equals(other$craftVersionName)) {
|
return false;
|
}
|
Object this$planStartTime = getPlanStartTime();
|
Object other$planStartTime = other.getPlanStartTime();
|
if (this$planStartTime == null) {
|
if (other$planStartTime != null) {
|
return false;
|
}
|
} else if (!this$planStartTime.equals(other$planStartTime)) {
|
return false;
|
}
|
Object this$planEndTime = getPlanEndTime();
|
Object other$planEndTime = other.getPlanEndTime();
|
if (this$planEndTime == null) {
|
if (other$planEndTime != null) {
|
return false;
|
}
|
} else if (!this$planEndTime.equals(other$planEndTime)) {
|
return false;
|
}
|
Object this$standardModel = getStandardModel();
|
Object other$standardModel = other.getStandardModel();
|
if (this$standardModel == null) {
|
if (other$standardModel != null) {
|
return false;
|
}
|
} else if (!this$standardModel.equals(other$standardModel)) {
|
return false;
|
}
|
Object this$extendField = getExtendField();
|
Object other$extendField = other.getExtendField();
|
return this$extendField == null ? other$extendField == null : this$extendField.equals(other$extendField);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof PlanSubmitVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $typeId = getTypeId();
|
int result2 = (result * 59) + ($typeId == null ? 43 : $typeId.hashCode());
|
Object $category = getCategory();
|
int result3 = (result2 * 59) + ($category == null ? 43 : $category.hashCode());
|
Object $productId = getProductId();
|
int result4 = (result3 * 59) + ($productId == null ? 43 : $productId.hashCode());
|
Object $bomId = getBomId();
|
int result5 = (result4 * 59) + ($bomId == null ? 43 : $bomId.hashCode());
|
Object $craftId = getCraftId();
|
int result6 = (result5 * 59) + ($craftId == null ? 43 : $craftId.hashCode());
|
Object $craftVersion = getCraftVersion();
|
int result7 = (result6 * 59) + ($craftVersion == null ? 43 : $craftVersion.hashCode());
|
Object $planNum = getPlanNum();
|
int result8 = (result7 * 59) + ($planNum == null ? 43 : $planNum.hashCode());
|
Object $code = getCode();
|
int result9 = (result8 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $indentCode = getIndentCode();
|
int result10 = (result9 * 59) + ($indentCode == null ? 43 : $indentCode.hashCode());
|
Object $productCode = getProductCode();
|
int result11 = (result10 * 59) + ($productCode == null ? 43 : $productCode.hashCode());
|
Object $productName = getProductName();
|
int result12 = (result11 * 59) + ($productName == null ? 43 : $productName.hashCode());
|
Object $bomVersion = getBomVersion();
|
int result13 = (result12 * 59) + ($bomVersion == null ? 43 : $bomVersion.hashCode());
|
Object $craftName = getCraftName();
|
int result14 = (result13 * 59) + ($craftName == null ? 43 : $craftName.hashCode());
|
Object $craftVersionName = getCraftVersionName();
|
int result15 = (result14 * 59) + ($craftVersionName == null ? 43 : $craftVersionName.hashCode());
|
Object $planStartTime = getPlanStartTime();
|
int result16 = (result15 * 59) + ($planStartTime == null ? 43 : $planStartTime.hashCode());
|
Object $planEndTime = getPlanEndTime();
|
int result17 = (result16 * 59) + ($planEndTime == null ? 43 : $planEndTime.hashCode());
|
Object $standardModel = getStandardModel();
|
int result18 = (result17 * 59) + ($standardModel == null ? 43 : $standardModel.hashCode());
|
Object $extendField = getExtendField();
|
return (result18 * 59) + ($extendField == null ? 43 : $extendField.hashCode());
|
}
|
|
public String toString() {
|
return "PlanSubmitVO(id=" + getId() + ", typeId=" + getTypeId() + ", code=" + getCode() + ", indentCode=" + getIndentCode() + ", category=" + getCategory() + ", productId=" + getProductId() + ", productCode=" + getProductCode() + ", productName=" + getProductName() + ", bomId=" + getBomId() + ", bomVersion=" + getBomVersion() + ", craftId=" + getCraftId() + ", craftName=" + getCraftName() + ", craftVersion=" + getCraftVersion() + ", craftVersionName=" + getCraftVersionName() + ", planNum=" + getPlanNum() + ", planStartTime=" + getPlanStartTime() + ", planEndTime=" + getPlanEndTime() + ", standardModel=" + getStandardModel() + ", extendField=" + getExtendField() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getTypeId() {
|
return this.typeId;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getIndentCode() {
|
return this.indentCode;
|
}
|
|
public Integer getCategory() {
|
return this.category;
|
}
|
|
public Long getProductId() {
|
return this.productId;
|
}
|
|
public String getProductCode() {
|
return this.productCode;
|
}
|
|
public String getProductName() {
|
return this.productName;
|
}
|
|
public Long getBomId() {
|
return this.bomId;
|
}
|
|
public String getBomVersion() {
|
return this.bomVersion;
|
}
|
|
public Long getCraftId() {
|
return this.craftId;
|
}
|
|
public String getCraftName() {
|
return this.craftName;
|
}
|
|
public Long getCraftVersion() {
|
return this.craftVersion;
|
}
|
|
public String getCraftVersionName() {
|
return this.craftVersionName;
|
}
|
|
public Integer getPlanNum() {
|
return this.planNum;
|
}
|
|
public Date getPlanStartTime() {
|
return this.planStartTime;
|
}
|
|
public Date getPlanEndTime() {
|
return this.planEndTime;
|
}
|
|
public String getStandardModel() {
|
return this.standardModel;
|
}
|
|
public String getExtendField() {
|
return this.extendField;
|
}
|
}
|