package com.qianwen.smartman.modules.coproduction.vo; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.validation.constraints.Size; import com.qianwen.core.tool.node.INode; @ApiModel(value = "OrderProcessVo对象", description = "blade_order_process") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderProcessDetailVO.class */ public class OrderProcessDetailVO implements INode { private static final long serialVersionUID = 1735525826764392763L; @ApiModelProperty("备注") @Size(max = 255, message = "备注长度不能超过255") private String remark; @ApiModelProperty("计划id") private Long planId; @ApiModelProperty("工单id") private Long orderId; @ApiModelProperty("工序顺序") private Integer sort; @ApiModelProperty("工序编号") @Size(max = 50, message = "工序编号长度不能超过50") private String processCode; @ApiModelProperty("工序名称") @Size(max = 50, message = "工序名称长度不能超过50") private String processName; @ApiModelProperty("程序id") private Long programId; @ApiModelProperty("程序名称") @Size(max = 128, message = "程序名称长度不能超过128") private String programName; @ApiModelProperty("暂停前状态") private Integer processStatusBefore; @ApiModelProperty("工序状态(1.待加工 2.加工中 3.暂停 4.关闭 5.完工)") private Integer processStatus; @ApiModelProperty("工序状态(1.待加工 2.加工中 3.暂停 4.关闭 5.完工)") private String processStatusStr; @ApiModelProperty("投产数量") private Integer inputNum; @ApiModelProperty("工序合格数量") private Integer qualifyNum; @ApiModelProperty("工序报废数量") private Integer scrappedNum; @ApiModelProperty("标准工时(单位:s)") private Integer standardTime; @ApiModelProperty("开始时间") private Date startTime; @ApiModelProperty("结束时间") private Date endTime; @ApiModelProperty("多工位id,用逗号隔开") @Size(max = 2000, message = "多工位id,用逗号隔开长度不能超过2000") private String workstationId; @ApiModelProperty("多工位名称,用逗号隔开") @Size(max = 5000, message = "多工位名称,用逗号隔开长度不能超过5000") private String workstationName; @ApiModelProperty("工艺包id") private Long artBagId; @ApiModelProperty("工艺包名称") @Size(max = 128, message = "工艺包名称长度不能超过128") private String artBagName; @ApiModelProperty("准备工时(单位:s)") private Integer prepareTime; @ApiModelProperty("拆卸工时(单位:s)") private Integer disassemblyTime; @ApiModelProperty("运输工时(单位:s)") private Integer transportTime; @ApiModelProperty("是否质检: 0 否 1 是") private Integer whetherTest; @ApiModelProperty("是否并行: 0 否 1 是") private Integer whetherParallel; @ApiModelProperty("主键") private Long id; @ApiModelProperty("状态") private Integer status; @ApiModelProperty("工种") private Integer workType; @ApiModelProperty("工种") private String workTypeStr; @ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)") private Long mainSequenceId; @ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)") private Long parentId; @ApiModelProperty("工艺id") private Long craftId; @ApiModelProperty("工艺版本id") private Long craftVersion; @ApiModelProperty("开工人员名称,逗号隔开") private String producerUserName; @JsonInclude(JsonInclude.Include.NON_EMPTY) private List children; @JsonInclude(JsonInclude.Include.NON_EMPTY) private Boolean hasChildren; public void setRemark(final String remark) { this.remark = remark; } public void setPlanId(final Long planId) { this.planId = planId; } public void setOrderId(final Long orderId) { this.orderId = orderId; } public void setSort(final Integer sort) { this.sort = sort; } public void setProcessCode(final String processCode) { this.processCode = processCode; } public void setProcessName(final String processName) { this.processName = processName; } public void setProgramId(final Long programId) { this.programId = programId; } public void setProgramName(final String programName) { this.programName = programName; } public void setProcessStatusBefore(final Integer processStatusBefore) { this.processStatusBefore = processStatusBefore; } public void setProcessStatus(final Integer processStatus) { this.processStatus = processStatus; } public void setProcessStatusStr(final String processStatusStr) { this.processStatusStr = processStatusStr; } public void setInputNum(final Integer inputNum) { this.inputNum = inputNum; } public void setQualifyNum(final Integer qualifyNum) { this.qualifyNum = qualifyNum; } public void setScrappedNum(final Integer scrappedNum) { this.scrappedNum = scrappedNum; } public void setStandardTime(final Integer standardTime) { this.standardTime = standardTime; } public void setStartTime(final Date startTime) { this.startTime = startTime; } public void setEndTime(final Date endTime) { this.endTime = endTime; } public void setWorkstationId(final String workstationId) { this.workstationId = workstationId; } public void setWorkstationName(final String workstationName) { this.workstationName = workstationName; } public void setArtBagId(final Long artBagId) { this.artBagId = artBagId; } public void setArtBagName(final String artBagName) { this.artBagName = artBagName; } 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 setWhetherTest(final Integer whetherTest) { this.whetherTest = whetherTest; } public void setWhetherParallel(final Integer whetherParallel) { this.whetherParallel = whetherParallel; } public void setId(final Long id) { this.id = id; } public void setStatus(final Integer status) { this.status = status; } public void setWorkType(final Integer workType) { this.workType = workType; } public void setWorkTypeStr(final String workTypeStr) { this.workTypeStr = workTypeStr; } public void setMainSequenceId(final Long mainSequenceId) { this.mainSequenceId = mainSequenceId; } public void setParentId(final Long parentId) { this.parentId = parentId; } public void setCraftId(final Long craftId) { this.craftId = craftId; } public void setCraftVersion(final Long craftVersion) { this.craftVersion = craftVersion; } public void setProducerUserName(final String producerUserName) { this.producerUserName = producerUserName; } public void setChildren(final List children) { this.children = children; } public void setHasChildren(final Boolean hasChildren) { this.hasChildren = hasChildren; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OrderProcessDetailVO) { OrderProcessDetailVO other = (OrderProcessDetailVO) o; if (other.canEqual(this)) { Object this$planId = getPlanId(); Object other$planId = other.getPlanId(); if (this$planId == null) { if (other$planId != null) { return false; } } else if (!this$planId.equals(other$planId)) { return false; } Object this$orderId = getOrderId(); Object other$orderId = other.getOrderId(); if (this$orderId == null) { if (other$orderId != null) { return false; } } else if (!this$orderId.equals(other$orderId)) { 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$processStatusBefore = getProcessStatusBefore(); Object other$processStatusBefore = other.getProcessStatusBefore(); if (this$processStatusBefore == null) { if (other$processStatusBefore != null) { return false; } } else if (!this$processStatusBefore.equals(other$processStatusBefore)) { return false; } Object this$processStatus = getProcessStatus(); Object other$processStatus = other.getProcessStatus(); if (this$processStatus == null) { if (other$processStatus != null) { return false; } } else if (!this$processStatus.equals(other$processStatus)) { return false; } Object this$inputNum = getInputNum(); Object other$inputNum = other.getInputNum(); if (this$inputNum == null) { if (other$inputNum != null) { return false; } } else if (!this$inputNum.equals(other$inputNum)) { return false; } Object this$qualifyNum = getQualifyNum(); Object other$qualifyNum = other.getQualifyNum(); if (this$qualifyNum == null) { if (other$qualifyNum != null) { return false; } } else if (!this$qualifyNum.equals(other$qualifyNum)) { return false; } Object this$scrappedNum = getScrappedNum(); Object other$scrappedNum = other.getScrappedNum(); if (this$scrappedNum == null) { if (other$scrappedNum != null) { return false; } } else if (!this$scrappedNum.equals(other$scrappedNum)) { 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$artBagId = getArtBagId(); Object other$artBagId = other.getArtBagId(); if (this$artBagId == null) { if (other$artBagId != null) { return false; } } else if (!this$artBagId.equals(other$artBagId)) { 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$whetherTest = getWhetherTest(); Object other$whetherTest = other.getWhetherTest(); if (this$whetherTest == null) { if (other$whetherTest != null) { return false; } } else if (!this$whetherTest.equals(other$whetherTest)) { return false; } Object this$whetherParallel = getWhetherParallel(); Object other$whetherParallel = other.getWhetherParallel(); if (this$whetherParallel == null) { if (other$whetherParallel != null) { return false; } } else if (!this$whetherParallel.equals(other$whetherParallel)) { 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$workType = getWorkType(); Object other$workType = other.getWorkType(); if (this$workType == null) { if (other$workType != null) { return false; } } else if (!this$workType.equals(other$workType)) { return false; } Object this$mainSequenceId = getMainSequenceId(); Object other$mainSequenceId = other.getMainSequenceId(); if (this$mainSequenceId == null) { if (other$mainSequenceId != null) { return false; } } else if (!this$mainSequenceId.equals(other$mainSequenceId)) { 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$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$hasChildren = getHasChildren(); Object other$hasChildren = other.getHasChildren(); if (this$hasChildren == null) { if (other$hasChildren != null) { return false; } } else if (!this$hasChildren.equals(other$hasChildren)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { 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$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$processStatusStr = getProcessStatusStr(); Object other$processStatusStr = other.getProcessStatusStr(); if (this$processStatusStr == null) { if (other$processStatusStr != null) { return false; } } else if (!this$processStatusStr.equals(other$processStatusStr)) { return false; } Object this$startTime = getStartTime(); Object other$startTime = other.getStartTime(); if (this$startTime == null) { if (other$startTime != null) { return false; } } else if (!this$startTime.equals(other$startTime)) { return false; } Object this$endTime = getEndTime(); Object other$endTime = other.getEndTime(); if (this$endTime == null) { if (other$endTime != null) { return false; } } else if (!this$endTime.equals(other$endTime)) { return false; } Object this$workstationId = getWorkstationId(); Object other$workstationId = other.getWorkstationId(); if (this$workstationId == null) { if (other$workstationId != null) { return false; } } else if (!this$workstationId.equals(other$workstationId)) { return false; } Object this$workstationName = getWorkstationName(); Object other$workstationName = other.getWorkstationName(); if (this$workstationName == null) { if (other$workstationName != null) { return false; } } else if (!this$workstationName.equals(other$workstationName)) { return false; } Object this$artBagName = getArtBagName(); Object other$artBagName = other.getArtBagName(); if (this$artBagName == null) { if (other$artBagName != null) { return false; } } else if (!this$artBagName.equals(other$artBagName)) { return false; } Object this$workTypeStr = getWorkTypeStr(); Object other$workTypeStr = other.getWorkTypeStr(); if (this$workTypeStr == null) { if (other$workTypeStr != null) { return false; } } else if (!this$workTypeStr.equals(other$workTypeStr)) { return false; } Object this$producerUserName = getProducerUserName(); Object other$producerUserName = other.getProducerUserName(); if (this$producerUserName == null) { if (other$producerUserName != null) { return false; } } else if (!this$producerUserName.equals(other$producerUserName)) { return false; } Object this$children = getChildren(); Object other$children = other.getChildren(); return this$children == null ? other$children == null : this$children.equals(other$children); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OrderProcessDetailVO; } public int hashCode() { Object $planId = getPlanId(); int result = (1 * 59) + ($planId == null ? 43 : $planId.hashCode()); Object $orderId = getOrderId(); int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.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 $processStatusBefore = getProcessStatusBefore(); int result5 = (result4 * 59) + ($processStatusBefore == null ? 43 : $processStatusBefore.hashCode()); Object $processStatus = getProcessStatus(); int result6 = (result5 * 59) + ($processStatus == null ? 43 : $processStatus.hashCode()); Object $inputNum = getInputNum(); int result7 = (result6 * 59) + ($inputNum == null ? 43 : $inputNum.hashCode()); Object $qualifyNum = getQualifyNum(); int result8 = (result7 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode()); Object $scrappedNum = getScrappedNum(); int result9 = (result8 * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode()); Object $standardTime = getStandardTime(); int result10 = (result9 * 59) + ($standardTime == null ? 43 : $standardTime.hashCode()); Object $artBagId = getArtBagId(); int result11 = (result10 * 59) + ($artBagId == null ? 43 : $artBagId.hashCode()); Object $prepareTime = getPrepareTime(); int result12 = (result11 * 59) + ($prepareTime == null ? 43 : $prepareTime.hashCode()); Object $disassemblyTime = getDisassemblyTime(); int result13 = (result12 * 59) + ($disassemblyTime == null ? 43 : $disassemblyTime.hashCode()); Object $transportTime = getTransportTime(); int result14 = (result13 * 59) + ($transportTime == null ? 43 : $transportTime.hashCode()); Object $whetherTest = getWhetherTest(); int result15 = (result14 * 59) + ($whetherTest == null ? 43 : $whetherTest.hashCode()); Object $whetherParallel = getWhetherParallel(); int result16 = (result15 * 59) + ($whetherParallel == null ? 43 : $whetherParallel.hashCode()); Object $id = getId(); int result17 = (result16 * 59) + ($id == null ? 43 : $id.hashCode()); Object $status = getStatus(); int result18 = (result17 * 59) + ($status == null ? 43 : $status.hashCode()); Object $workType = getWorkType(); int result19 = (result18 * 59) + ($workType == null ? 43 : $workType.hashCode()); Object $mainSequenceId = getMainSequenceId(); int result20 = (result19 * 59) + ($mainSequenceId == null ? 43 : $mainSequenceId.hashCode()); Object $parentId = getParentId(); int result21 = (result20 * 59) + ($parentId == null ? 43 : $parentId.hashCode()); Object $craftId = getCraftId(); int result22 = (result21 * 59) + ($craftId == null ? 43 : $craftId.hashCode()); Object $craftVersion = getCraftVersion(); int result23 = (result22 * 59) + ($craftVersion == null ? 43 : $craftVersion.hashCode()); Object $hasChildren = getHasChildren(); int result24 = (result23 * 59) + ($hasChildren == null ? 43 : $hasChildren.hashCode()); Object $remark = getRemark(); int result25 = (result24 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $processCode = getProcessCode(); int result26 = (result25 * 59) + ($processCode == null ? 43 : $processCode.hashCode()); Object $processName = getProcessName(); int result27 = (result26 * 59) + ($processName == null ? 43 : $processName.hashCode()); Object $programName = getProgramName(); int result28 = (result27 * 59) + ($programName == null ? 43 : $programName.hashCode()); Object $processStatusStr = getProcessStatusStr(); int result29 = (result28 * 59) + ($processStatusStr == null ? 43 : $processStatusStr.hashCode()); Object $startTime = getStartTime(); int result30 = (result29 * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $endTime = getEndTime(); int result31 = (result30 * 59) + ($endTime == null ? 43 : $endTime.hashCode()); Object $workstationId = getWorkstationId(); int result32 = (result31 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $workstationName = getWorkstationName(); int result33 = (result32 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $artBagName = getArtBagName(); int result34 = (result33 * 59) + ($artBagName == null ? 43 : $artBagName.hashCode()); Object $workTypeStr = getWorkTypeStr(); int result35 = (result34 * 59) + ($workTypeStr == null ? 43 : $workTypeStr.hashCode()); Object $producerUserName = getProducerUserName(); int result36 = (result35 * 59) + ($producerUserName == null ? 43 : $producerUserName.hashCode()); Object $children = getChildren(); return (result36 * 59) + ($children == null ? 43 : $children.hashCode()); } public String toString() { return "OrderProcessDetailVO(remark=" + getRemark() + ", planId=" + getPlanId() + ", orderId=" + getOrderId() + ", sort=" + getSort() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", programId=" + getProgramId() + ", programName=" + getProgramName() + ", processStatusBefore=" + getProcessStatusBefore() + ", processStatus=" + getProcessStatus() + ", processStatusStr=" + getProcessStatusStr() + ", inputNum=" + getInputNum() + ", qualifyNum=" + getQualifyNum() + ", scrappedNum=" + getScrappedNum() + ", standardTime=" + getStandardTime() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", artBagId=" + getArtBagId() + ", artBagName=" + getArtBagName() + ", prepareTime=" + getPrepareTime() + ", disassemblyTime=" + getDisassemblyTime() + ", transportTime=" + getTransportTime() + ", whetherTest=" + getWhetherTest() + ", whetherParallel=" + getWhetherParallel() + ", id=" + getId() + ", status=" + getStatus() + ", workType=" + getWorkType() + ", workTypeStr=" + getWorkTypeStr() + ", mainSequenceId=" + getMainSequenceId() + ", parentId=" + getParentId() + ", craftId=" + getCraftId() + ", craftVersion=" + getCraftVersion() + ", producerUserName=" + getProducerUserName() + ", children=" + getChildren() + ", hasChildren=" + getHasChildren() + ")"; } public String getRemark() { return this.remark; } public Long getPlanId() { return this.planId; } public Long getOrderId() { return this.orderId; } public Integer getSort() { return this.sort; } public String getProcessCode() { return this.processCode; } public String getProcessName() { return this.processName; } public Long getProgramId() { return this.programId; } public String getProgramName() { return this.programName; } public Integer getProcessStatusBefore() { return this.processStatusBefore; } public Integer getProcessStatus() { return this.processStatus; } public String getProcessStatusStr() { return this.processStatusStr; } public Integer getInputNum() { return this.inputNum; } public Integer getQualifyNum() { return this.qualifyNum; } public Integer getScrappedNum() { return this.scrappedNum; } public Integer getStandardTime() { return this.standardTime; } public Date getStartTime() { return this.startTime; } public Date getEndTime() { return this.endTime; } public String getWorkstationId() { return this.workstationId; } public String getWorkstationName() { return this.workstationName; } public Long getArtBagId() { return this.artBagId; } public String getArtBagName() { return this.artBagName; } public Integer getPrepareTime() { return this.prepareTime; } public Integer getDisassemblyTime() { return this.disassemblyTime; } public Integer getTransportTime() { return this.transportTime; } public Integer getWhetherTest() { return this.whetherTest; } public Integer getWhetherParallel() { return this.whetherParallel; } public Long getId() { return this.id; } public Integer getStatus() { return this.status; } public Integer getWorkType() { return this.workType; } public String getWorkTypeStr() { return this.workTypeStr; } public Long getMainSequenceId() { return this.mainSequenceId; } public Long getParentId() { return this.parentId; } public Long getCraftId() { return this.craftId; } public Long getCraftVersion() { return this.craftVersion; } public String getProducerUserName() { return this.producerUserName; } public Boolean getHasChildren() { return Boolean.valueOf(this.children.size() > 0); } public List getChildren() { if (this.children == null) { this.children = new ArrayList(); } return this.children; } }