yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
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;
    }
}