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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
package com.qianwen.smartman.modules.coproduction.entity;
 
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "OrderWorkstation对象", description = "blade_order_workstation")
@TableName("blade_order_workstation")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/entity/OrderWorkstation.class */
public class OrderWorkstation extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("租户ID")
    private String tenantId;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("计划id")
    private Long planId;
    @ApiModelProperty("工单id")
    private Long orderId;
    @ApiModelProperty("工单工序id")
    private Long processId;
    @ApiModelProperty("加工工位id")
    private Long workstationId;
    @ApiModelProperty("加工工位名称")
    private String workstationName;
    @ApiModelProperty("当前生产人员id")
    private Long producerId;
    @ApiModelProperty("当前生产人员编号")
    private String producerCode;
    @ApiModelProperty("当前生产人员名称")
    private String producerName;
    @ApiModelProperty("报工合格数量")
    private Integer qualifyNum;
    @ApiModelProperty("报工报废数量")
    private Integer scrappedNum;
    @ApiModelProperty("状态:1.未开工 2.已开工 ")
    private Integer workstationStatus;
    @TableField(value = "current_record_id", updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("当前报工记录的id")
    private Long currentRecordId;
    @TableField(exist = false)
    @ApiModelProperty("当前工序编号")
    private String processCode;
    @TableField(exist = false)
    @ApiModelProperty("当前工序名称")
    private String processName;
    @TableField(exist = false)
    @ApiModelProperty("工单号")
    private String orderCode;
 
    public OrderWorkstation setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public OrderWorkstation setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public OrderWorkstation setPlanId(final Long planId) {
        this.planId = planId;
        return this;
    }
 
    public OrderWorkstation setOrderId(final Long orderId) {
        this.orderId = orderId;
        return this;
    }
 
    public OrderWorkstation setProcessId(final Long processId) {
        this.processId = processId;
        return this;
    }
 
    public OrderWorkstation setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
        return this;
    }
 
    public OrderWorkstation setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
        return this;
    }
 
    public OrderWorkstation setProducerId(final Long producerId) {
        this.producerId = producerId;
        return this;
    }
 
    public OrderWorkstation setProducerCode(final String producerCode) {
        this.producerCode = producerCode;
        return this;
    }
 
    public OrderWorkstation setProducerName(final String producerName) {
        this.producerName = producerName;
        return this;
    }
 
    public OrderWorkstation setQualifyNum(final Integer qualifyNum) {
        this.qualifyNum = qualifyNum;
        return this;
    }
 
    public OrderWorkstation setScrappedNum(final Integer scrappedNum) {
        this.scrappedNum = scrappedNum;
        return this;
    }
 
    public OrderWorkstation setWorkstationStatus(final Integer workstationStatus) {
        this.workstationStatus = workstationStatus;
        return this;
    }
 
    public OrderWorkstation setCurrentRecordId(final Long currentRecordId) {
        this.currentRecordId = currentRecordId;
        return this;
    }
 
    public OrderWorkstation setProcessCode(final String processCode) {
        this.processCode = processCode;
        return this;
    }
 
    public OrderWorkstation setProcessName(final String processName) {
        this.processName = processName;
        return this;
    }
 
    public OrderWorkstation setOrderCode(final String orderCode) {
        this.orderCode = orderCode;
        return this;
    }
 
    public String toString() {
        return "OrderWorkstation(tenantId=" + getTenantId() + ", remark=" + getRemark() + ", planId=" + getPlanId() + ", orderId=" + getOrderId() + ", processId=" + getProcessId() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", producerId=" + getProducerId() + ", producerCode=" + getProducerCode() + ", producerName=" + getProducerName() + ", qualifyNum=" + getQualifyNum() + ", scrappedNum=" + getScrappedNum() + ", workstationStatus=" + getWorkstationStatus() + ", currentRecordId=" + getCurrentRecordId() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", orderCode=" + getOrderCode() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OrderWorkstation) {
            OrderWorkstation other = (OrderWorkstation) o;
            if (other.canEqual(this) && super.equals(o)) {
                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$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$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$producerId = getProducerId();
                Object other$producerId = other.getProducerId();
                if (this$producerId == null) {
                    if (other$producerId != null) {
                        return false;
                    }
                } else if (!this$producerId.equals(other$producerId)) {
                    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$workstationStatus = getWorkstationStatus();
                Object other$workstationStatus = other.getWorkstationStatus();
                if (this$workstationStatus == null) {
                    if (other$workstationStatus != null) {
                        return false;
                    }
                } else if (!this$workstationStatus.equals(other$workstationStatus)) {
                    return false;
                }
                Object this$currentRecordId = getCurrentRecordId();
                Object other$currentRecordId = other.getCurrentRecordId();
                if (this$currentRecordId == null) {
                    if (other$currentRecordId != null) {
                        return false;
                    }
                } else if (!this$currentRecordId.equals(other$currentRecordId)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    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$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$producerCode = getProducerCode();
                Object other$producerCode = other.getProducerCode();
                if (this$producerCode == null) {
                    if (other$producerCode != null) {
                        return false;
                    }
                } else if (!this$producerCode.equals(other$producerCode)) {
                    return false;
                }
                Object this$producerName = getProducerName();
                Object other$producerName = other.getProducerName();
                if (this$producerName == null) {
                    if (other$producerName != null) {
                        return false;
                    }
                } else if (!this$producerName.equals(other$producerName)) {
                    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$orderCode = getOrderCode();
                Object other$orderCode = other.getOrderCode();
                return this$orderCode == null ? other$orderCode == null : this$orderCode.equals(other$orderCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof OrderWorkstation;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $planId = getPlanId();
        int result2 = (result * 59) + ($planId == null ? 43 : $planId.hashCode());
        Object $orderId = getOrderId();
        int result3 = (result2 * 59) + ($orderId == null ? 43 : $orderId.hashCode());
        Object $processId = getProcessId();
        int result4 = (result3 * 59) + ($processId == null ? 43 : $processId.hashCode());
        Object $workstationId = getWorkstationId();
        int result5 = (result4 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $producerId = getProducerId();
        int result6 = (result5 * 59) + ($producerId == null ? 43 : $producerId.hashCode());
        Object $qualifyNum = getQualifyNum();
        int result7 = (result6 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
        Object $scrappedNum = getScrappedNum();
        int result8 = (result7 * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode());
        Object $workstationStatus = getWorkstationStatus();
        int result9 = (result8 * 59) + ($workstationStatus == null ? 43 : $workstationStatus.hashCode());
        Object $currentRecordId = getCurrentRecordId();
        int result10 = (result9 * 59) + ($currentRecordId == null ? 43 : $currentRecordId.hashCode());
        Object $tenantId = getTenantId();
        int result11 = (result10 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $remark = getRemark();
        int result12 = (result11 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $workstationName = getWorkstationName();
        int result13 = (result12 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $producerCode = getProducerCode();
        int result14 = (result13 * 59) + ($producerCode == null ? 43 : $producerCode.hashCode());
        Object $producerName = getProducerName();
        int result15 = (result14 * 59) + ($producerName == null ? 43 : $producerName.hashCode());
        Object $processCode = getProcessCode();
        int result16 = (result15 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
        Object $processName = getProcessName();
        int result17 = (result16 * 59) + ($processName == null ? 43 : $processName.hashCode());
        Object $orderCode = getOrderCode();
        return (result17 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Long getPlanId() {
        return this.planId;
    }
 
    public Long getOrderId() {
        return this.orderId;
    }
 
    public Long getProcessId() {
        return this.processId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public Long getProducerId() {
        return this.producerId;
    }
 
    public String getProducerCode() {
        return this.producerCode;
    }
 
    public String getProducerName() {
        return this.producerName;
    }
 
    public Integer getQualifyNum() {
        return this.qualifyNum;
    }
 
    public Integer getScrappedNum() {
        return this.scrappedNum;
    }
 
    public Integer getWorkstationStatus() {
        return this.workstationStatus;
    }
 
    public Long getCurrentRecordId() {
        return this.currentRecordId;
    }
 
    public String getProcessCode() {
        return this.processCode;
    }
 
    public String getProcessName() {
        return this.processName;
    }
 
    public String getOrderCode() {
        return this.orderCode;
    }
}