package com.qianwen.smartman.modules.coproduction.dto; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderReportDTO.class */ public class OrderReportDTO implements Serializable { @ApiModelProperty("计划id") private String planId; @ApiModelProperty("工单id") private String orderId; @ApiModelProperty("工序编号") private String processCode; @ApiModelProperty("工序名称") private String processName; @ApiModelProperty("所属产品名称") private String productName; @ApiModelProperty("派发数量") private Integer assignNum; @ApiModelProperty("已报工数量 = 工序合格 + 报废") private Integer workReportedNum; @ApiModelProperty("待报工数量 = 投产数量 - 合格 - 报废") private Integer stayReportedNum; public void setPlanId(final String planId) { this.planId = planId; } public void setOrderId(final String orderId) { this.orderId = orderId; } public void setProcessCode(final String processCode) { this.processCode = processCode; } public void setProcessName(final String processName) { this.processName = processName; } public void setProductName(final String productName) { this.productName = productName; } public void setAssignNum(final Integer assignNum) { this.assignNum = assignNum; } public void setWorkReportedNum(final Integer workReportedNum) { this.workReportedNum = workReportedNum; } public void setStayReportedNum(final Integer stayReportedNum) { this.stayReportedNum = stayReportedNum; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OrderReportDTO) { OrderReportDTO other = (OrderReportDTO) 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$workReportedNum = getWorkReportedNum(); Object other$workReportedNum = other.getWorkReportedNum(); if (this$workReportedNum == null) { if (other$workReportedNum != null) { return false; } } else if (!this$workReportedNum.equals(other$workReportedNum)) { return false; } Object this$stayReportedNum = getStayReportedNum(); Object other$stayReportedNum = other.getStayReportedNum(); if (this$stayReportedNum == null) { if (other$stayReportedNum != null) { return false; } } else if (!this$stayReportedNum.equals(other$stayReportedNum)) { 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$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$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$productName = getProductName(); Object other$productName = other.getProductName(); return this$productName == null ? other$productName == null : this$productName.equals(other$productName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OrderReportDTO; } public int hashCode() { Object $assignNum = getAssignNum(); int result = (1 * 59) + ($assignNum == null ? 43 : $assignNum.hashCode()); Object $workReportedNum = getWorkReportedNum(); int result2 = (result * 59) + ($workReportedNum == null ? 43 : $workReportedNum.hashCode()); Object $stayReportedNum = getStayReportedNum(); int result3 = (result2 * 59) + ($stayReportedNum == null ? 43 : $stayReportedNum.hashCode()); Object $planId = getPlanId(); int result4 = (result3 * 59) + ($planId == null ? 43 : $planId.hashCode()); Object $orderId = getOrderId(); int result5 = (result4 * 59) + ($orderId == null ? 43 : $orderId.hashCode()); Object $processCode = getProcessCode(); int result6 = (result5 * 59) + ($processCode == null ? 43 : $processCode.hashCode()); Object $processName = getProcessName(); int result7 = (result6 * 59) + ($processName == null ? 43 : $processName.hashCode()); Object $productName = getProductName(); return (result7 * 59) + ($productName == null ? 43 : $productName.hashCode()); } public String toString() { return "OrderReportDTO(planId=" + getPlanId() + ", orderId=" + getOrderId() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", productName=" + getProductName() + ", assignNum=" + getAssignNum() + ", workReportedNum=" + getWorkReportedNum() + ", stayReportedNum=" + getStayReportedNum() + ")"; } public String getPlanId() { return this.planId; } public String getOrderId() { return this.orderId; } public String getProcessCode() { return this.processCode; } public String getProcessName() { return this.processName; } public String getProductName() { return this.productName; } public Integer getAssignNum() { return this.assignNum; } public Integer getWorkReportedNum() { return this.workReportedNum; } public Integer getStayReportedNum() { return this.stayReportedNum; } }