package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import javax.validation.constraints.Size;
|
|
public class ProductionCraftProcessDetailVO implements Serializable {
|
private static final long serialVersionUID = -3967917293261074172L;
|
@ApiModelProperty("所属租户")
|
@Size(max = 6, message = "所属租户长度不能超过6")
|
private String tenantId;
|
@ApiModelProperty(value = "所属工艺", dataType = "java.lang.String")
|
private Long versionId;
|
@ApiModelProperty(value = "所属生产工序", dataType = "java.lang.String")
|
private Long processId;
|
@ApiModelProperty("工序顺序")
|
private Integer sort;
|
@ApiModelProperty("程序Id")
|
private Long programId;
|
@ApiModelProperty("程序名称")
|
@Size(max = 255, message = "程序名称长度不能超过255")
|
private String programName;
|
@ApiModelProperty("工艺包id")
|
private Long bagId;
|
@ApiModelProperty("工艺包名称")
|
private String bagName;
|
@ApiModelProperty("标准工时(秒)")
|
private Integer standardTime;
|
@ApiModelProperty("准备工时")
|
private Integer prepareTime;
|
@ApiModelProperty("拆卸工时")
|
private Integer disassemblyTime;
|
@ApiModelProperty("运输工时")
|
private Integer transportTime;
|
@ApiModelProperty("测量序需要测量方式 0-频次抽检 1-信号抽检 2-首件检 3-末件检")
|
private List<Integer> meaMethod;
|
@ApiModelProperty("只有频次抽检需要维护 0-必检工序; !=0 频次抽检")
|
private Integer meaMethodValue;
|
@ApiModelProperty("不合格品处理方式 0-出线 1-返线,上一序返工 2-返线,执行后序工序, 3-HMI选择")
|
private Integer handlerMethod;
|
@ApiModelProperty("目标ID")
|
private String targetId;
|
@ApiModelProperty("资源ID")
|
private String sourceId;
|
@ApiModelProperty(value = "主键", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("x坐标")
|
private String xCoordinate;
|
@ApiModelProperty("y坐标")
|
private String yCoordinate;
|
@ApiModelProperty("业务状态")
|
private Integer status;
|
@ApiModelProperty("工序编码")
|
private String processCode;
|
@ApiModelProperty("工序名称")
|
private String processName;
|
@ApiModelProperty("工序类型")
|
private Integer processType;
|
@ApiModelProperty("工序类型名称")
|
private String processTypeName;
|
@ApiModelProperty("父级id")
|
private Long parentId;
|
@ApiModelProperty("附件")
|
private List<ProductionCraftProcessFileVO> files;
|
@ApiModelProperty("工序关联刀具")
|
private List<ProductionCraftProcessRelatedToolVO> tools;
|
@ApiModelProperty("工序关联夹具")
|
private List<ProductionCraftProcessRelatedFixtureVO> fixtures;
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setVersionId(final Long versionId) {
|
this.versionId = versionId;
|
}
|
|
public void setProcessId(final Long processId) {
|
this.processId = processId;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setProgramId(final Long programId) {
|
this.programId = programId;
|
}
|
|
public void setProgramName(final String programName) {
|
this.programName = programName;
|
}
|
|
public void setBagId(final Long bagId) {
|
this.bagId = bagId;
|
}
|
|
public void setBagName(final String bagName) {
|
this.bagName = bagName;
|
}
|
|
public void setStandardTime(final Integer standardTime) {
|
this.standardTime = standardTime;
|
}
|
|
public void setPrepareTime(final Integer prepareTime) {
|
this.prepareTime = prepareTime;
|
}
|
|
public void setDisassemblyTime(final Integer disassemblyTime) {
|
this.disassemblyTime = disassemblyTime;
|
}
|
|
public void setTransportTime(final Integer transportTime) {
|
this.transportTime = transportTime;
|
}
|
|
public void setMeaMethod(final List<Integer> meaMethod) {
|
this.meaMethod = meaMethod;
|
}
|
|
public void setMeaMethodValue(final Integer meaMethodValue) {
|
this.meaMethodValue = meaMethodValue;
|
}
|
|
public void setHandlerMethod(final Integer handlerMethod) {
|
this.handlerMethod = handlerMethod;
|
}
|
|
public void setTargetId(final String targetId) {
|
this.targetId = targetId;
|
}
|
|
public void setSourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setXCoordinate(final String xCoordinate) {
|
this.xCoordinate = xCoordinate;
|
}
|
|
public void setYCoordinate(final String yCoordinate) {
|
this.yCoordinate = yCoordinate;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setProcessCode(final String processCode) {
|
this.processCode = processCode;
|
}
|
|
public void setProcessName(final String processName) {
|
this.processName = processName;
|
}
|
|
public void setProcessType(final Integer processType) {
|
this.processType = processType;
|
}
|
|
public void setProcessTypeName(final String processTypeName) {
|
this.processTypeName = processTypeName;
|
}
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public void setFiles(final List<ProductionCraftProcessFileVO> files) {
|
this.files = files;
|
}
|
|
public void setTools(final List<ProductionCraftProcessRelatedToolVO> tools) {
|
this.tools = tools;
|
}
|
|
public void setFixtures(final List<ProductionCraftProcessRelatedFixtureVO> fixtures) {
|
this.fixtures = fixtures;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProductionCraftProcessDetailVO) {
|
ProductionCraftProcessDetailVO other = (ProductionCraftProcessDetailVO) o;
|
if (other.canEqual(this)) {
|
Object this$versionId = getVersionId();
|
Object other$versionId = other.getVersionId();
|
if (this$versionId == null) {
|
if (other$versionId != null) {
|
return false;
|
}
|
} else if (!this$versionId.equals(other$versionId)) {
|
return false;
|
}
|
Object this$processId = getProcessId();
|
Object other$processId = other.getProcessId();
|
if (this$processId == null) {
|
if (other$processId != null) {
|
return false;
|
}
|
} else if (!this$processId.equals(other$processId)) {
|
return false;
|
}
|
Object this$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
return false;
|
}
|
Object this$programId = getProgramId();
|
Object other$programId = other.getProgramId();
|
if (this$programId == null) {
|
if (other$programId != null) {
|
return false;
|
}
|
} else if (!this$programId.equals(other$programId)) {
|
return false;
|
}
|
Object this$bagId = getBagId();
|
Object other$bagId = other.getBagId();
|
if (this$bagId == null) {
|
if (other$bagId != null) {
|
return false;
|
}
|
} else if (!this$bagId.equals(other$bagId)) {
|
return false;
|
}
|
Object this$standardTime = getStandardTime();
|
Object other$standardTime = other.getStandardTime();
|
if (this$standardTime == null) {
|
if (other$standardTime != null) {
|
return false;
|
}
|
} else if (!this$standardTime.equals(other$standardTime)) {
|
return false;
|
}
|
Object this$prepareTime = getPrepareTime();
|
Object other$prepareTime = other.getPrepareTime();
|
if (this$prepareTime == null) {
|
if (other$prepareTime != null) {
|
return false;
|
}
|
} else if (!this$prepareTime.equals(other$prepareTime)) {
|
return false;
|
}
|
Object this$disassemblyTime = getDisassemblyTime();
|
Object other$disassemblyTime = other.getDisassemblyTime();
|
if (this$disassemblyTime == null) {
|
if (other$disassemblyTime != null) {
|
return false;
|
}
|
} else if (!this$disassemblyTime.equals(other$disassemblyTime)) {
|
return false;
|
}
|
Object this$transportTime = getTransportTime();
|
Object other$transportTime = other.getTransportTime();
|
if (this$transportTime == null) {
|
if (other$transportTime != null) {
|
return false;
|
}
|
} else if (!this$transportTime.equals(other$transportTime)) {
|
return false;
|
}
|
Object this$meaMethodValue = getMeaMethodValue();
|
Object other$meaMethodValue = other.getMeaMethodValue();
|
if (this$meaMethodValue == null) {
|
if (other$meaMethodValue != null) {
|
return false;
|
}
|
} else if (!this$meaMethodValue.equals(other$meaMethodValue)) {
|
return false;
|
}
|
Object this$handlerMethod = getHandlerMethod();
|
Object other$handlerMethod = other.getHandlerMethod();
|
if (this$handlerMethod == null) {
|
if (other$handlerMethod != null) {
|
return false;
|
}
|
} else if (!this$handlerMethod.equals(other$handlerMethod)) {
|
return false;
|
}
|
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$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$processType = getProcessType();
|
Object other$processType = other.getProcessType();
|
if (this$processType == null) {
|
if (other$processType != null) {
|
return false;
|
}
|
} else if (!this$processType.equals(other$processType)) {
|
return false;
|
}
|
Object this$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
return false;
|
}
|
Object this$programName = getProgramName();
|
Object other$programName = other.getProgramName();
|
if (this$programName == null) {
|
if (other$programName != null) {
|
return false;
|
}
|
} else if (!this$programName.equals(other$programName)) {
|
return false;
|
}
|
Object this$bagName = getBagName();
|
Object other$bagName = other.getBagName();
|
if (this$bagName == null) {
|
if (other$bagName != null) {
|
return false;
|
}
|
} else if (!this$bagName.equals(other$bagName)) {
|
return false;
|
}
|
Object this$meaMethod = getMeaMethod();
|
Object other$meaMethod = other.getMeaMethod();
|
if (this$meaMethod == null) {
|
if (other$meaMethod != null) {
|
return false;
|
}
|
} else if (!this$meaMethod.equals(other$meaMethod)) {
|
return false;
|
}
|
Object this$targetId = getTargetId();
|
Object other$targetId = other.getTargetId();
|
if (this$targetId == null) {
|
if (other$targetId != null) {
|
return false;
|
}
|
} else if (!this$targetId.equals(other$targetId)) {
|
return false;
|
}
|
Object this$sourceId = getSourceId();
|
Object other$sourceId = other.getSourceId();
|
if (this$sourceId == null) {
|
if (other$sourceId != null) {
|
return false;
|
}
|
} else if (!this$sourceId.equals(other$sourceId)) {
|
return false;
|
}
|
Object this$xCoordinate = getXCoordinate();
|
Object other$xCoordinate = other.getXCoordinate();
|
if (this$xCoordinate == null) {
|
if (other$xCoordinate != null) {
|
return false;
|
}
|
} else if (!this$xCoordinate.equals(other$xCoordinate)) {
|
return false;
|
}
|
Object this$yCoordinate = getYCoordinate();
|
Object other$yCoordinate = other.getYCoordinate();
|
if (this$yCoordinate == null) {
|
if (other$yCoordinate != null) {
|
return false;
|
}
|
} else if (!this$yCoordinate.equals(other$yCoordinate)) {
|
return false;
|
}
|
Object this$processCode = getProcessCode();
|
Object other$processCode = other.getProcessCode();
|
if (this$processCode == null) {
|
if (other$processCode != null) {
|
return false;
|
}
|
} else if (!this$processCode.equals(other$processCode)) {
|
return false;
|
}
|
Object this$processName = getProcessName();
|
Object other$processName = other.getProcessName();
|
if (this$processName == null) {
|
if (other$processName != null) {
|
return false;
|
}
|
} else if (!this$processName.equals(other$processName)) {
|
return false;
|
}
|
Object this$processTypeName = getProcessTypeName();
|
Object other$processTypeName = other.getProcessTypeName();
|
if (this$processTypeName == null) {
|
if (other$processTypeName != null) {
|
return false;
|
}
|
} else if (!this$processTypeName.equals(other$processTypeName)) {
|
return false;
|
}
|
Object this$files = getFiles();
|
Object other$files = other.getFiles();
|
if (this$files == null) {
|
if (other$files != null) {
|
return false;
|
}
|
} else if (!this$files.equals(other$files)) {
|
return false;
|
}
|
Object this$tools = getTools();
|
Object other$tools = other.getTools();
|
if (this$tools == null) {
|
if (other$tools != null) {
|
return false;
|
}
|
} else if (!this$tools.equals(other$tools)) {
|
return false;
|
}
|
Object this$fixtures = getFixtures();
|
Object other$fixtures = other.getFixtures();
|
return this$fixtures == null ? other$fixtures == null : this$fixtures.equals(other$fixtures);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProductionCraftProcessDetailVO;
|
}
|
|
public int hashCode() {
|
Object $versionId = getVersionId();
|
int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode());
|
Object $processId = getProcessId();
|
int result2 = (result * 59) + ($processId == null ? 43 : $processId.hashCode());
|
Object $sort = getSort();
|
int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $programId = getProgramId();
|
int result4 = (result3 * 59) + ($programId == null ? 43 : $programId.hashCode());
|
Object $bagId = getBagId();
|
int result5 = (result4 * 59) + ($bagId == null ? 43 : $bagId.hashCode());
|
Object $standardTime = getStandardTime();
|
int result6 = (result5 * 59) + ($standardTime == null ? 43 : $standardTime.hashCode());
|
Object $prepareTime = getPrepareTime();
|
int result7 = (result6 * 59) + ($prepareTime == null ? 43 : $prepareTime.hashCode());
|
Object $disassemblyTime = getDisassemblyTime();
|
int result8 = (result7 * 59) + ($disassemblyTime == null ? 43 : $disassemblyTime.hashCode());
|
Object $transportTime = getTransportTime();
|
int result9 = (result8 * 59) + ($transportTime == null ? 43 : $transportTime.hashCode());
|
Object $meaMethodValue = getMeaMethodValue();
|
int result10 = (result9 * 59) + ($meaMethodValue == null ? 43 : $meaMethodValue.hashCode());
|
Object $handlerMethod = getHandlerMethod();
|
int result11 = (result10 * 59) + ($handlerMethod == null ? 43 : $handlerMethod.hashCode());
|
Object $id = getId();
|
int result12 = (result11 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result13 = (result12 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $processType = getProcessType();
|
int result14 = (result13 * 59) + ($processType == null ? 43 : $processType.hashCode());
|
Object $parentId = getParentId();
|
int result15 = (result14 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $tenantId = getTenantId();
|
int result16 = (result15 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $programName = getProgramName();
|
int result17 = (result16 * 59) + ($programName == null ? 43 : $programName.hashCode());
|
Object $bagName = getBagName();
|
int result18 = (result17 * 59) + ($bagName == null ? 43 : $bagName.hashCode());
|
Object $meaMethod = getMeaMethod();
|
int result19 = (result18 * 59) + ($meaMethod == null ? 43 : $meaMethod.hashCode());
|
Object $targetId = getTargetId();
|
int result20 = (result19 * 59) + ($targetId == null ? 43 : $targetId.hashCode());
|
Object $sourceId = getSourceId();
|
int result21 = (result20 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
|
Object $xCoordinate = getXCoordinate();
|
int result22 = (result21 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
|
Object $yCoordinate = getYCoordinate();
|
int result23 = (result22 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
|
Object $processCode = getProcessCode();
|
int result24 = (result23 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
|
Object $processName = getProcessName();
|
int result25 = (result24 * 59) + ($processName == null ? 43 : $processName.hashCode());
|
Object $processTypeName = getProcessTypeName();
|
int result26 = (result25 * 59) + ($processTypeName == null ? 43 : $processTypeName.hashCode());
|
Object $files = getFiles();
|
int result27 = (result26 * 59) + ($files == null ? 43 : $files.hashCode());
|
Object $tools = getTools();
|
int result28 = (result27 * 59) + ($tools == null ? 43 : $tools.hashCode());
|
Object $fixtures = getFixtures();
|
return (result28 * 59) + ($fixtures == null ? 43 : $fixtures.hashCode());
|
}
|
|
public String toString() {
|
return "ProductionCraftProcessDetailVO(tenantId=" + getTenantId() + ", versionId=" + getVersionId() + ", processId=" + getProcessId() + ", sort=" + getSort() + ", programId=" + getProgramId() + ", programName=" + getProgramName() + ", bagId=" + getBagId() + ", bagName=" + getBagName() + ", standardTime=" + getStandardTime() + ", prepareTime=" + getPrepareTime() + ", disassemblyTime=" + getDisassemblyTime() + ", transportTime=" + getTransportTime() + ", meaMethod=" + getMeaMethod() + ", meaMethodValue=" + getMeaMethodValue() + ", handlerMethod=" + getHandlerMethod() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", id=" + getId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", status=" + getStatus() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", processType=" + getProcessType() + ", processTypeName=" + getProcessTypeName() + ", parentId=" + getParentId() + ", files=" + getFiles() + ", tools=" + getTools() + ", fixtures=" + getFixtures() + ")";
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public Long getVersionId() {
|
return this.versionId;
|
}
|
|
public Long getProcessId() {
|
return this.processId;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public Long getProgramId() {
|
return this.programId;
|
}
|
|
public String getProgramName() {
|
return this.programName;
|
}
|
|
public Long getBagId() {
|
return this.bagId;
|
}
|
|
public String getBagName() {
|
return this.bagName;
|
}
|
|
public Integer getStandardTime() {
|
return this.standardTime;
|
}
|
|
public Integer getPrepareTime() {
|
return this.prepareTime;
|
}
|
|
public Integer getDisassemblyTime() {
|
return this.disassemblyTime;
|
}
|
|
public Integer getTransportTime() {
|
return this.transportTime;
|
}
|
|
public List<Integer> getMeaMethod() {
|
return this.meaMethod;
|
}
|
|
public Integer getMeaMethodValue() {
|
return this.meaMethodValue;
|
}
|
|
public Integer getHandlerMethod() {
|
return this.handlerMethod;
|
}
|
|
public String getTargetId() {
|
return this.targetId;
|
}
|
|
public String getSourceId() {
|
return this.sourceId;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getXCoordinate() {
|
return this.xCoordinate;
|
}
|
|
public String getYCoordinate() {
|
return this.yCoordinate;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public String getProcessCode() {
|
return this.processCode;
|
}
|
|
public String getProcessName() {
|
return this.processName;
|
}
|
|
public Integer getProcessType() {
|
return this.processType;
|
}
|
|
public String getProcessTypeName() {
|
return this.processTypeName;
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public List<ProductionCraftProcessFileVO> getFiles() {
|
return this.files;
|
}
|
|
public List<ProductionCraftProcessRelatedToolVO> getTools() {
|
return this.tools;
|
}
|
|
public List<ProductionCraftProcessRelatedFixtureVO> getFixtures() {
|
return this.fixtures;
|
}
|
}
|