package com.qianwen.smartman.modules.coproduction.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import javax.validation.constraints.Size; @ApiModel(value = "OrderVo对象", description = "计划工单") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderVO.class */ public class OrderVO implements Serializable { private static final long serialVersionUID = -3507215463180356995L; @ApiModelProperty("工单号") private String orderCode; @ApiModelProperty("投产数量") private Integer assignNum; @ApiModelProperty("报废数量") private Integer scrappedNum; @ApiModelProperty("合格数量") private Integer qualifyNum; @ApiModelProperty("工单状态(1:待加工,2:加工中,3:暂停,4:关闭,5:完工)") private Integer orderStatus; @ApiModelProperty("工单状态(1:待加工,2:加工中,3:暂停,4:关闭,5:完工)") private String orderStatusStr; @ApiModelProperty("计划ID") private Long planId; @ApiModelProperty("变更前工单状态") private Integer orderStatusBefore; @ApiModelProperty("开始时间") private Date startTime; @ApiModelProperty("结束时间") private Date endTime; @ApiModelProperty("描述") @Size(max = 255, message = "描述长度不能超过255") private String description; @ApiModelProperty("主键") private Long id; @ApiModelProperty("产品名称") private String productName; @ApiModelProperty("计划编号") private String planCode; @ApiModelProperty("计划开始时间") private Date planStartTime; @ApiModelProperty("计划结束时间") private Date planEndTime; @ApiModelProperty("扩展字段") private String extendField; @ApiModelProperty("计划类型") private Integer category; @ApiModelProperty("报工情况") private String reportSituation; public void setOrderCode(final String orderCode) { this.orderCode = orderCode; } public void setAssignNum(final Integer assignNum) { this.assignNum = assignNum; } public void setScrappedNum(final Integer scrappedNum) { this.scrappedNum = scrappedNum; } public void setQualifyNum(final Integer qualifyNum) { this.qualifyNum = qualifyNum; } public void setOrderStatus(final Integer orderStatus) { this.orderStatus = orderStatus; } public void setOrderStatusStr(final String orderStatusStr) { this.orderStatusStr = orderStatusStr; } public void setPlanId(final Long planId) { this.planId = planId; } public void setOrderStatusBefore(final Integer orderStatusBefore) { this.orderStatusBefore = orderStatusBefore; } public void setStartTime(final Date startTime) { this.startTime = startTime; } public void setEndTime(final Date endTime) { this.endTime = endTime; } public void setDescription(final String description) { this.description = description; } public void setId(final Long id) { this.id = id; } public void setProductName(final String productName) { this.productName = productName; } public void setPlanCode(final String planCode) { this.planCode = planCode; } public void setPlanStartTime(final Date planStartTime) { this.planStartTime = planStartTime; } public void setPlanEndTime(final Date planEndTime) { this.planEndTime = planEndTime; } public void setExtendField(final String extendField) { this.extendField = extendField; } public void setCategory(final Integer category) { this.category = category; } public void setReportSituation(final String reportSituation) { this.reportSituation = reportSituation; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OrderVO) { OrderVO other = (OrderVO) o; if (other.canEqual(this)) { Object this$assignNum = getAssignNum(); Object other$assignNum = other.getAssignNum(); if (this$assignNum == null) { if (other$assignNum != null) { return false; } } else if (!this$assignNum.equals(other$assignNum)) { 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$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$orderStatus = getOrderStatus(); Object other$orderStatus = other.getOrderStatus(); if (this$orderStatus == null) { if (other$orderStatus != null) { return false; } } else if (!this$orderStatus.equals(other$orderStatus)) { return false; } 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$orderStatusBefore = getOrderStatusBefore(); Object other$orderStatusBefore = other.getOrderStatusBefore(); if (this$orderStatusBefore == null) { if (other$orderStatusBefore != null) { return false; } } else if (!this$orderStatusBefore.equals(other$orderStatusBefore)) { 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$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$orderCode = getOrderCode(); Object other$orderCode = other.getOrderCode(); if (this$orderCode == null) { if (other$orderCode != null) { return false; } } else if (!this$orderCode.equals(other$orderCode)) { return false; } Object this$orderStatusStr = getOrderStatusStr(); Object other$orderStatusStr = other.getOrderStatusStr(); if (this$orderStatusStr == null) { if (other$orderStatusStr != null) { return false; } } else if (!this$orderStatusStr.equals(other$orderStatusStr)) { 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$description = getDescription(); Object other$description = other.getDescription(); if (this$description == null) { if (other$description != null) { return false; } } else if (!this$description.equals(other$description)) { 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$planCode = getPlanCode(); Object other$planCode = other.getPlanCode(); if (this$planCode == null) { if (other$planCode != null) { return false; } } else if (!this$planCode.equals(other$planCode)) { 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$extendField = getExtendField(); Object other$extendField = other.getExtendField(); if (this$extendField == null) { if (other$extendField != null) { return false; } } else if (!this$extendField.equals(other$extendField)) { return false; } Object this$reportSituation = getReportSituation(); Object other$reportSituation = other.getReportSituation(); return this$reportSituation == null ? other$reportSituation == null : this$reportSituation.equals(other$reportSituation); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OrderVO; } public int hashCode() { Object $assignNum = getAssignNum(); int result = (1 * 59) + ($assignNum == null ? 43 : $assignNum.hashCode()); Object $scrappedNum = getScrappedNum(); int result2 = (result * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode()); Object $qualifyNum = getQualifyNum(); int result3 = (result2 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode()); Object $orderStatus = getOrderStatus(); int result4 = (result3 * 59) + ($orderStatus == null ? 43 : $orderStatus.hashCode()); Object $planId = getPlanId(); int result5 = (result4 * 59) + ($planId == null ? 43 : $planId.hashCode()); Object $orderStatusBefore = getOrderStatusBefore(); int result6 = (result5 * 59) + ($orderStatusBefore == null ? 43 : $orderStatusBefore.hashCode()); Object $id = getId(); int result7 = (result6 * 59) + ($id == null ? 43 : $id.hashCode()); Object $category = getCategory(); int result8 = (result7 * 59) + ($category == null ? 43 : $category.hashCode()); Object $orderCode = getOrderCode(); int result9 = (result8 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode()); Object $orderStatusStr = getOrderStatusStr(); int result10 = (result9 * 59) + ($orderStatusStr == null ? 43 : $orderStatusStr.hashCode()); Object $startTime = getStartTime(); int result11 = (result10 * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $endTime = getEndTime(); int result12 = (result11 * 59) + ($endTime == null ? 43 : $endTime.hashCode()); Object $description = getDescription(); int result13 = (result12 * 59) + ($description == null ? 43 : $description.hashCode()); Object $productName = getProductName(); int result14 = (result13 * 59) + ($productName == null ? 43 : $productName.hashCode()); Object $planCode = getPlanCode(); int result15 = (result14 * 59) + ($planCode == null ? 43 : $planCode.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 $extendField = getExtendField(); int result18 = (result17 * 59) + ($extendField == null ? 43 : $extendField.hashCode()); Object $reportSituation = getReportSituation(); return (result18 * 59) + ($reportSituation == null ? 43 : $reportSituation.hashCode()); } public String toString() { return "OrderVO(orderCode=" + getOrderCode() + ", assignNum=" + getAssignNum() + ", scrappedNum=" + getScrappedNum() + ", qualifyNum=" + getQualifyNum() + ", orderStatus=" + getOrderStatus() + ", orderStatusStr=" + getOrderStatusStr() + ", planId=" + getPlanId() + ", orderStatusBefore=" + getOrderStatusBefore() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", description=" + getDescription() + ", id=" + getId() + ", productName=" + getProductName() + ", planCode=" + getPlanCode() + ", planStartTime=" + getPlanStartTime() + ", planEndTime=" + getPlanEndTime() + ", extendField=" + getExtendField() + ", category=" + getCategory() + ", reportSituation=" + getReportSituation() + ")"; } public String getOrderCode() { return this.orderCode; } public Integer getAssignNum() { return this.assignNum; } public Integer getScrappedNum() { return this.scrappedNum; } public Integer getQualifyNum() { return this.qualifyNum; } public Integer getOrderStatus() { return this.orderStatus; } public String getOrderStatusStr() { return this.orderStatusStr; } public Long getPlanId() { return this.planId; } public Integer getOrderStatusBefore() { return this.orderStatusBefore; } public Date getStartTime() { return this.startTime; } public Date getEndTime() { return this.endTime; } public String getDescription() { return this.description; } public Long getId() { return this.id; } public String getProductName() { return this.productName; } public String getPlanCode() { return this.planCode; } public Date getPlanStartTime() { return this.planStartTime; } public Date getPlanEndTime() { return this.planEndTime; } public String getExtendField() { return this.extendField; } public Integer getCategory() { return this.category; } public String getReportSituation() { return this.reportSituation; } }