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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
package com.qianwen.smartman.modules.coproduction.dto;
 
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderProcessReportWorkDTO.class */
public class OrderProcessReportWorkDTO {
    @ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)")
    private Long mainSequenceId;
    @ApiModelProperty("并序报工记录id(并序开工时子序的开工记录中)")
    private Long openSequenceId;
    @NotBlank(message = "报工记录id必传")
    @ApiModelProperty("报工记录id")
    private String recordId;
    @ApiModelProperty("工序id")
    private String processId;
    @NotNull(message = "合格数量必填")
    @ApiModelProperty("报工合格数量")
    private Integer qualifyNum;
    @NotNull(message = "不合格数量必填")
    @ApiModelProperty("报工不合格数量")
    private Integer scrappedNum;
    @ApiModelProperty("报工人员id")
    private String workshopUserId;
    @ApiModelProperty("报工人员编码")
    private String workshopUserCode;
    @ApiModelProperty("报工人员名称")
    private String workshopUserName;
    @ApiModelProperty("质检报工人员")
    private String qualityUserId;
    @ApiModelProperty("质检报工人员编码")
    private String qualityUserCode;
    @ApiModelProperty("质检报工人员名称")
    private String qualityUserName;
    @ApiModelProperty("备注")
    private String remark;
 
    public OrderProcessReportWorkDTO setMainSequenceId(final Long mainSequenceId) {
        this.mainSequenceId = mainSequenceId;
        return this;
    }
 
    public OrderProcessReportWorkDTO setOpenSequenceId(final Long openSequenceId) {
        this.openSequenceId = openSequenceId;
        return this;
    }
 
    public OrderProcessReportWorkDTO setRecordId(final String recordId) {
        this.recordId = recordId;
        return this;
    }
 
    public OrderProcessReportWorkDTO setProcessId(final String processId) {
        this.processId = processId;
        return this;
    }
 
    public OrderProcessReportWorkDTO setQualifyNum(final Integer qualifyNum) {
        this.qualifyNum = qualifyNum;
        return this;
    }
 
    public OrderProcessReportWorkDTO setScrappedNum(final Integer scrappedNum) {
        this.scrappedNum = scrappedNum;
        return this;
    }
 
    public OrderProcessReportWorkDTO setWorkshopUserId(final String workshopUserId) {
        this.workshopUserId = workshopUserId;
        return this;
    }
 
    public OrderProcessReportWorkDTO setWorkshopUserCode(final String workshopUserCode) {
        this.workshopUserCode = workshopUserCode;
        return this;
    }
 
    public OrderProcessReportWorkDTO setWorkshopUserName(final String workshopUserName) {
        this.workshopUserName = workshopUserName;
        return this;
    }
 
    public OrderProcessReportWorkDTO setQualityUserId(final String qualityUserId) {
        this.qualityUserId = qualityUserId;
        return this;
    }
 
    public OrderProcessReportWorkDTO setQualityUserCode(final String qualityUserCode) {
        this.qualityUserCode = qualityUserCode;
        return this;
    }
 
    public OrderProcessReportWorkDTO setQualityUserName(final String qualityUserName) {
        this.qualityUserName = qualityUserName;
        return this;
    }
 
    public OrderProcessReportWorkDTO setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OrderProcessReportWorkDTO) {
            OrderProcessReportWorkDTO other = (OrderProcessReportWorkDTO) o;
            if (other.canEqual(this)) {
                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$openSequenceId = getOpenSequenceId();
                Object other$openSequenceId = other.getOpenSequenceId();
                if (this$openSequenceId == null) {
                    if (other$openSequenceId != null) {
                        return false;
                    }
                } else if (!this$openSequenceId.equals(other$openSequenceId)) {
                    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$recordId = getRecordId();
                Object other$recordId = other.getRecordId();
                if (this$recordId == null) {
                    if (other$recordId != null) {
                        return false;
                    }
                } else if (!this$recordId.equals(other$recordId)) {
                    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$workshopUserId = getWorkshopUserId();
                Object other$workshopUserId = other.getWorkshopUserId();
                if (this$workshopUserId == null) {
                    if (other$workshopUserId != null) {
                        return false;
                    }
                } else if (!this$workshopUserId.equals(other$workshopUserId)) {
                    return false;
                }
                Object this$workshopUserCode = getWorkshopUserCode();
                Object other$workshopUserCode = other.getWorkshopUserCode();
                if (this$workshopUserCode == null) {
                    if (other$workshopUserCode != null) {
                        return false;
                    }
                } else if (!this$workshopUserCode.equals(other$workshopUserCode)) {
                    return false;
                }
                Object this$workshopUserName = getWorkshopUserName();
                Object other$workshopUserName = other.getWorkshopUserName();
                if (this$workshopUserName == null) {
                    if (other$workshopUserName != null) {
                        return false;
                    }
                } else if (!this$workshopUserName.equals(other$workshopUserName)) {
                    return false;
                }
                Object this$qualityUserId = getQualityUserId();
                Object other$qualityUserId = other.getQualityUserId();
                if (this$qualityUserId == null) {
                    if (other$qualityUserId != null) {
                        return false;
                    }
                } else if (!this$qualityUserId.equals(other$qualityUserId)) {
                    return false;
                }
                Object this$qualityUserCode = getQualityUserCode();
                Object other$qualityUserCode = other.getQualityUserCode();
                if (this$qualityUserCode == null) {
                    if (other$qualityUserCode != null) {
                        return false;
                    }
                } else if (!this$qualityUserCode.equals(other$qualityUserCode)) {
                    return false;
                }
                Object this$qualityUserName = getQualityUserName();
                Object other$qualityUserName = other.getQualityUserName();
                if (this$qualityUserName == null) {
                    if (other$qualityUserName != null) {
                        return false;
                    }
                } else if (!this$qualityUserName.equals(other$qualityUserName)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof OrderProcessReportWorkDTO;
    }
 
    public int hashCode() {
        Object $mainSequenceId = getMainSequenceId();
        int result = (1 * 59) + ($mainSequenceId == null ? 43 : $mainSequenceId.hashCode());
        Object $openSequenceId = getOpenSequenceId();
        int result2 = (result * 59) + ($openSequenceId == null ? 43 : $openSequenceId.hashCode());
        Object $qualifyNum = getQualifyNum();
        int result3 = (result2 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
        Object $scrappedNum = getScrappedNum();
        int result4 = (result3 * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode());
        Object $recordId = getRecordId();
        int result5 = (result4 * 59) + ($recordId == null ? 43 : $recordId.hashCode());
        Object $processId = getProcessId();
        int result6 = (result5 * 59) + ($processId == null ? 43 : $processId.hashCode());
        Object $workshopUserId = getWorkshopUserId();
        int result7 = (result6 * 59) + ($workshopUserId == null ? 43 : $workshopUserId.hashCode());
        Object $workshopUserCode = getWorkshopUserCode();
        int result8 = (result7 * 59) + ($workshopUserCode == null ? 43 : $workshopUserCode.hashCode());
        Object $workshopUserName = getWorkshopUserName();
        int result9 = (result8 * 59) + ($workshopUserName == null ? 43 : $workshopUserName.hashCode());
        Object $qualityUserId = getQualityUserId();
        int result10 = (result9 * 59) + ($qualityUserId == null ? 43 : $qualityUserId.hashCode());
        Object $qualityUserCode = getQualityUserCode();
        int result11 = (result10 * 59) + ($qualityUserCode == null ? 43 : $qualityUserCode.hashCode());
        Object $qualityUserName = getQualityUserName();
        int result12 = (result11 * 59) + ($qualityUserName == null ? 43 : $qualityUserName.hashCode());
        Object $remark = getRemark();
        return (result12 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public String toString() {
        return "OrderProcessReportWorkDTO(mainSequenceId=" + getMainSequenceId() + ", openSequenceId=" + getOpenSequenceId() + ", recordId=" + getRecordId() + ", processId=" + getProcessId() + ", qualifyNum=" + getQualifyNum() + ", scrappedNum=" + getScrappedNum() + ", workshopUserId=" + getWorkshopUserId() + ", workshopUserCode=" + getWorkshopUserCode() + ", workshopUserName=" + getWorkshopUserName() + ", qualityUserId=" + getQualityUserId() + ", qualityUserCode=" + getQualityUserCode() + ", qualityUserName=" + getQualityUserName() + ", remark=" + getRemark() + ")";
    }
 
    public Long getMainSequenceId() {
        return this.mainSequenceId;
    }
 
    public Long getOpenSequenceId() {
        return this.openSequenceId;
    }
 
    public String getRecordId() {
        return this.recordId;
    }
 
    public String getProcessId() {
        return this.processId;
    }
 
    public Integer getQualifyNum() {
        return this.qualifyNum;
    }
 
    public Integer getScrappedNum() {
        return this.scrappedNum;
    }
 
    public String getWorkshopUserId() {
        return this.workshopUserId;
    }
 
    public String getWorkshopUserCode() {
        return this.workshopUserCode;
    }
 
    public String getWorkshopUserName() {
        return this.workshopUserName;
    }
 
    public String getQualityUserId() {
        return this.qualityUserId;
    }
 
    public String getQualityUserCode() {
        return this.qualityUserCode;
    }
 
    public String getQualityUserName() {
        return this.qualityUserName;
    }
 
    public String getRemark() {
        return this.remark;
    }
}