yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
package com.qianwen.smartman.modules.cps.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.tenant.mp.TenantEntity;
 
@ApiModel(value = "ProductionCraftProcess对象", description = "工艺版本的工序流程")
@TableName("blade_production_craft_process")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ProductionCraftProcess.class */
public class ProductionCraftProcess extends TenantEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty(value = "所属工艺", dataType = "java.lang.String")
    private Long versionId;
    @ApiModelProperty(value = "所属生产工序", dataType = "java.lang.String")
    private Long processId;
    @ApiModelProperty("工序名称")
    private String processName;
    @ApiModelProperty("工序编号")
    private String processCode;
    @ApiModelProperty("工序描述")
    private String processDesc;
    @ApiModelProperty("工序类型")
    private Integer processType;
    @ApiModelProperty("工序类型名称")
    private String processTypeName;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("工序顺序")
    private Integer sort;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("程序Id")
    private Long programId;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("程序名称")
    private String programName;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("工艺包id")
    private Long bagId;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("工艺包名称")
    private String bagName;
    @ApiModelProperty("是否质检")
    private Integer whetherTest;
    @ApiModelProperty("是否并行")
    private Integer whetherParallel;
    @ApiModelProperty("标准工时(秒)")
    private Integer standardTime;
    @ApiModelProperty("准备工时")
    private Integer prepareTime;
    @ApiModelProperty("拆卸工时")
    private Integer disassemblyTime;
    @ApiModelProperty("运输工时")
    private Integer transportTime;
    @ApiModelProperty("测量序需要测量方式 0-频次抽检 1-信号抽检 2-首件检 3-末件检")
    private String meaMethod;
    @ApiModelProperty("只有频次抽检需要维护 0-必检工序; !=0 频次抽检")
    private Integer meaMethodValue;
    @ApiModelProperty("不合格品处理方式 0-出线 1-返线,上一序返工 2-返线,执行后序工序, 3-HMI选择")
    private Integer handlerMethod;
    @ApiModelProperty("目标ID")
    private String targetId;
    @ApiModelProperty("资源ID")
    private String sourceId;
    @ApiModelProperty("x坐标")
    private String xCoordinate;
    @ApiModelProperty("y坐标")
    private String yCoordinate;
    @ApiModelProperty("主序的高度")
    private Integer height;
    @ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)")
    private Long mainSequenceId;
 
    public ProductionCraftProcess setVersionId(final Long versionId) {
        this.versionId = versionId;
        return this;
    }
 
    public ProductionCraftProcess setProcessId(final Long processId) {
        this.processId = processId;
        return this;
    }
 
    public ProductionCraftProcess setProcessName(final String processName) {
        this.processName = processName;
        return this;
    }
 
    public ProductionCraftProcess setProcessCode(final String processCode) {
        this.processCode = processCode;
        return this;
    }
 
    public ProductionCraftProcess setProcessDesc(final String processDesc) {
        this.processDesc = processDesc;
        return this;
    }
 
    public ProductionCraftProcess setProcessType(final Integer processType) {
        this.processType = processType;
        return this;
    }
 
    public ProductionCraftProcess setProcessTypeName(final String processTypeName) {
        this.processTypeName = processTypeName;
        return this;
    }
 
    public ProductionCraftProcess setSort(final Integer sort) {
        this.sort = sort;
        return this;
    }
 
    public ProductionCraftProcess setProgramId(final Long programId) {
        this.programId = programId;
        return this;
    }
 
    public ProductionCraftProcess setProgramName(final String programName) {
        this.programName = programName;
        return this;
    }
 
    public ProductionCraftProcess setBagId(final Long bagId) {
        this.bagId = bagId;
        return this;
    }
 
    public ProductionCraftProcess setBagName(final String bagName) {
        this.bagName = bagName;
        return this;
    }
 
    public ProductionCraftProcess setWhetherTest(final Integer whetherTest) {
        this.whetherTest = whetherTest;
        return this;
    }
 
    public ProductionCraftProcess setWhetherParallel(final Integer whetherParallel) {
        this.whetherParallel = whetherParallel;
        return this;
    }
 
    public ProductionCraftProcess setStandardTime(final Integer standardTime) {
        this.standardTime = standardTime;
        return this;
    }
 
    public ProductionCraftProcess setPrepareTime(final Integer prepareTime) {
        this.prepareTime = prepareTime;
        return this;
    }
 
    public ProductionCraftProcess setDisassemblyTime(final Integer disassemblyTime) {
        this.disassemblyTime = disassemblyTime;
        return this;
    }
 
    public ProductionCraftProcess setTransportTime(final Integer transportTime) {
        this.transportTime = transportTime;
        return this;
    }
 
    public ProductionCraftProcess setMeaMethod(final String meaMethod) {
        this.meaMethod = meaMethod;
        return this;
    }
 
    public ProductionCraftProcess setMeaMethodValue(final Integer meaMethodValue) {
        this.meaMethodValue = meaMethodValue;
        return this;
    }
 
    public ProductionCraftProcess setHandlerMethod(final Integer handlerMethod) {
        this.handlerMethod = handlerMethod;
        return this;
    }
 
    public ProductionCraftProcess setTargetId(final String targetId) {
        this.targetId = targetId;
        return this;
    }
 
    public ProductionCraftProcess setSourceId(final String sourceId) {
        this.sourceId = sourceId;
        return this;
    }
 
    public ProductionCraftProcess setXCoordinate(final String xCoordinate) {
        this.xCoordinate = xCoordinate;
        return this;
    }
 
    public ProductionCraftProcess setYCoordinate(final String yCoordinate) {
        this.yCoordinate = yCoordinate;
        return this;
    }
 
    public ProductionCraftProcess setHeight(final Integer height) {
        this.height = height;
        return this;
    }
 
    public ProductionCraftProcess setMainSequenceId(final Long mainSequenceId) {
        this.mainSequenceId = mainSequenceId;
        return this;
    }
 
    public String toString() {
        return "ProductionCraftProcess(versionId=" + getVersionId() + ", processId=" + getProcessId() + ", processName=" + getProcessName() + ", processCode=" + getProcessCode() + ", processDesc=" + getProcessDesc() + ", processType=" + getProcessType() + ", processTypeName=" + getProcessTypeName() + ", sort=" + getSort() + ", programId=" + getProgramId() + ", programName=" + getProgramName() + ", bagId=" + getBagId() + ", bagName=" + getBagName() + ", whetherTest=" + getWhetherTest() + ", whetherParallel=" + getWhetherParallel() + ", standardTime=" + getStandardTime() + ", prepareTime=" + getPrepareTime() + ", disassemblyTime=" + getDisassemblyTime() + ", transportTime=" + getTransportTime() + ", meaMethod=" + getMeaMethod() + ", meaMethodValue=" + getMeaMethodValue() + ", handlerMethod=" + getHandlerMethod() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", height=" + getHeight() + ", mainSequenceId=" + getMainSequenceId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProductionCraftProcess) {
            ProductionCraftProcess other = (ProductionCraftProcess) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$versionId = getVersionId();
                Object other$versionId = other.getVersionId();
                if (this$versionId == null) {
                    if (other$versionId != null) {
                        return false;
                    }
                } else if (!this$versionId.equals(other$versionId)) {
                    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$processType = getProcessType();
                Object other$processType = other.getProcessType();
                if (this$processType == null) {
                    if (other$processType != null) {
                        return false;
                    }
                } else if (!this$processType.equals(other$processType)) {
                    return false;
                }
                Object this$sort = getSort();
                Object other$sort = other.getSort();
                if (this$sort == null) {
                    if (other$sort != null) {
                        return false;
                    }
                } else if (!this$sort.equals(other$sort)) {
                    return false;
                }
                Object this$programId = getProgramId();
                Object other$programId = other.getProgramId();
                if (this$programId == null) {
                    if (other$programId != null) {
                        return false;
                    }
                } else if (!this$programId.equals(other$programId)) {
                    return false;
                }
                Object this$bagId = getBagId();
                Object other$bagId = other.getBagId();
                if (this$bagId == null) {
                    if (other$bagId != null) {
                        return false;
                    }
                } else if (!this$bagId.equals(other$bagId)) {
                    return false;
                }
                Object this$whetherTest = getWhetherTest();
                Object other$whetherTest = other.getWhetherTest();
                if (this$whetherTest == null) {
                    if (other$whetherTest != null) {
                        return false;
                    }
                } else if (!this$whetherTest.equals(other$whetherTest)) {
                    return false;
                }
                Object this$whetherParallel = getWhetherParallel();
                Object other$whetherParallel = other.getWhetherParallel();
                if (this$whetherParallel == null) {
                    if (other$whetherParallel != null) {
                        return false;
                    }
                } else if (!this$whetherParallel.equals(other$whetherParallel)) {
                    return false;
                }
                Object this$standardTime = getStandardTime();
                Object other$standardTime = other.getStandardTime();
                if (this$standardTime == null) {
                    if (other$standardTime != null) {
                        return false;
                    }
                } else if (!this$standardTime.equals(other$standardTime)) {
                    return false;
                }
                Object this$prepareTime = getPrepareTime();
                Object other$prepareTime = other.getPrepareTime();
                if (this$prepareTime == null) {
                    if (other$prepareTime != null) {
                        return false;
                    }
                } else if (!this$prepareTime.equals(other$prepareTime)) {
                    return false;
                }
                Object this$disassemblyTime = getDisassemblyTime();
                Object other$disassemblyTime = other.getDisassemblyTime();
                if (this$disassemblyTime == null) {
                    if (other$disassemblyTime != null) {
                        return false;
                    }
                } else if (!this$disassemblyTime.equals(other$disassemblyTime)) {
                    return false;
                }
                Object this$transportTime = getTransportTime();
                Object other$transportTime = other.getTransportTime();
                if (this$transportTime == null) {
                    if (other$transportTime != null) {
                        return false;
                    }
                } else if (!this$transportTime.equals(other$transportTime)) {
                    return false;
                }
                Object this$meaMethodValue = getMeaMethodValue();
                Object other$meaMethodValue = other.getMeaMethodValue();
                if (this$meaMethodValue == null) {
                    if (other$meaMethodValue != null) {
                        return false;
                    }
                } else if (!this$meaMethodValue.equals(other$meaMethodValue)) {
                    return false;
                }
                Object this$handlerMethod = getHandlerMethod();
                Object other$handlerMethod = other.getHandlerMethod();
                if (this$handlerMethod == null) {
                    if (other$handlerMethod != null) {
                        return false;
                    }
                } else if (!this$handlerMethod.equals(other$handlerMethod)) {
                    return false;
                }
                Object this$height = getHeight();
                Object other$height = other.getHeight();
                if (this$height == null) {
                    if (other$height != null) {
                        return false;
                    }
                } else if (!this$height.equals(other$height)) {
                    return false;
                }
                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$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$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$processDesc = getProcessDesc();
                Object other$processDesc = other.getProcessDesc();
                if (this$processDesc == null) {
                    if (other$processDesc != null) {
                        return false;
                    }
                } else if (!this$processDesc.equals(other$processDesc)) {
                    return false;
                }
                Object this$processTypeName = getProcessTypeName();
                Object other$processTypeName = other.getProcessTypeName();
                if (this$processTypeName == null) {
                    if (other$processTypeName != null) {
                        return false;
                    }
                } else if (!this$processTypeName.equals(other$processTypeName)) {
                    return false;
                }
                Object this$programName = getProgramName();
                Object other$programName = other.getProgramName();
                if (this$programName == null) {
                    if (other$programName != null) {
                        return false;
                    }
                } else if (!this$programName.equals(other$programName)) {
                    return false;
                }
                Object this$bagName = getBagName();
                Object other$bagName = other.getBagName();
                if (this$bagName == null) {
                    if (other$bagName != null) {
                        return false;
                    }
                } else if (!this$bagName.equals(other$bagName)) {
                    return false;
                }
                Object this$meaMethod = getMeaMethod();
                Object other$meaMethod = other.getMeaMethod();
                if (this$meaMethod == null) {
                    if (other$meaMethod != null) {
                        return false;
                    }
                } else if (!this$meaMethod.equals(other$meaMethod)) {
                    return false;
                }
                Object this$targetId = getTargetId();
                Object other$targetId = other.getTargetId();
                if (this$targetId == null) {
                    if (other$targetId != null) {
                        return false;
                    }
                } else if (!this$targetId.equals(other$targetId)) {
                    return false;
                }
                Object this$sourceId = getSourceId();
                Object other$sourceId = other.getSourceId();
                if (this$sourceId == null) {
                    if (other$sourceId != null) {
                        return false;
                    }
                } else if (!this$sourceId.equals(other$sourceId)) {
                    return false;
                }
                Object this$xCoordinate = getXCoordinate();
                Object other$xCoordinate = other.getXCoordinate();
                if (this$xCoordinate == null) {
                    if (other$xCoordinate != null) {
                        return false;
                    }
                } else if (!this$xCoordinate.equals(other$xCoordinate)) {
                    return false;
                }
                Object this$yCoordinate = getYCoordinate();
                Object other$yCoordinate = other.getYCoordinate();
                return this$yCoordinate == null ? other$yCoordinate == null : this$yCoordinate.equals(other$yCoordinate);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProductionCraftProcess;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $versionId = getVersionId();
        int result2 = (result * 59) + ($versionId == null ? 43 : $versionId.hashCode());
        Object $processId = getProcessId();
        int result3 = (result2 * 59) + ($processId == null ? 43 : $processId.hashCode());
        Object $processType = getProcessType();
        int result4 = (result3 * 59) + ($processType == null ? 43 : $processType.hashCode());
        Object $sort = getSort();
        int result5 = (result4 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $programId = getProgramId();
        int result6 = (result5 * 59) + ($programId == null ? 43 : $programId.hashCode());
        Object $bagId = getBagId();
        int result7 = (result6 * 59) + ($bagId == null ? 43 : $bagId.hashCode());
        Object $whetherTest = getWhetherTest();
        int result8 = (result7 * 59) + ($whetherTest == null ? 43 : $whetherTest.hashCode());
        Object $whetherParallel = getWhetherParallel();
        int result9 = (result8 * 59) + ($whetherParallel == null ? 43 : $whetherParallel.hashCode());
        Object $standardTime = getStandardTime();
        int result10 = (result9 * 59) + ($standardTime == null ? 43 : $standardTime.hashCode());
        Object $prepareTime = getPrepareTime();
        int result11 = (result10 * 59) + ($prepareTime == null ? 43 : $prepareTime.hashCode());
        Object $disassemblyTime = getDisassemblyTime();
        int result12 = (result11 * 59) + ($disassemblyTime == null ? 43 : $disassemblyTime.hashCode());
        Object $transportTime = getTransportTime();
        int result13 = (result12 * 59) + ($transportTime == null ? 43 : $transportTime.hashCode());
        Object $meaMethodValue = getMeaMethodValue();
        int result14 = (result13 * 59) + ($meaMethodValue == null ? 43 : $meaMethodValue.hashCode());
        Object $handlerMethod = getHandlerMethod();
        int result15 = (result14 * 59) + ($handlerMethod == null ? 43 : $handlerMethod.hashCode());
        Object $height = getHeight();
        int result16 = (result15 * 59) + ($height == null ? 43 : $height.hashCode());
        Object $mainSequenceId = getMainSequenceId();
        int result17 = (result16 * 59) + ($mainSequenceId == null ? 43 : $mainSequenceId.hashCode());
        Object $processName = getProcessName();
        int result18 = (result17 * 59) + ($processName == null ? 43 : $processName.hashCode());
        Object $processCode = getProcessCode();
        int result19 = (result18 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
        Object $processDesc = getProcessDesc();
        int result20 = (result19 * 59) + ($processDesc == null ? 43 : $processDesc.hashCode());
        Object $processTypeName = getProcessTypeName();
        int result21 = (result20 * 59) + ($processTypeName == null ? 43 : $processTypeName.hashCode());
        Object $programName = getProgramName();
        int result22 = (result21 * 59) + ($programName == null ? 43 : $programName.hashCode());
        Object $bagName = getBagName();
        int result23 = (result22 * 59) + ($bagName == null ? 43 : $bagName.hashCode());
        Object $meaMethod = getMeaMethod();
        int result24 = (result23 * 59) + ($meaMethod == null ? 43 : $meaMethod.hashCode());
        Object $targetId = getTargetId();
        int result25 = (result24 * 59) + ($targetId == null ? 43 : $targetId.hashCode());
        Object $sourceId = getSourceId();
        int result26 = (result25 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
        Object $xCoordinate = getXCoordinate();
        int result27 = (result26 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
        Object $yCoordinate = getYCoordinate();
        return (result27 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
    }
 
    public Long getVersionId() {
        return this.versionId;
    }
 
    public Long getProcessId() {
        return this.processId;
    }
 
    public String getProcessName() {
        return this.processName;
    }
 
    public String getProcessCode() {
        return this.processCode;
    }
 
    public String getProcessDesc() {
        return this.processDesc;
    }
 
    public Integer getProcessType() {
        return this.processType;
    }
 
    public String getProcessTypeName() {
        return this.processTypeName;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public Long getProgramId() {
        return this.programId;
    }
 
    public String getProgramName() {
        return this.programName;
    }
 
    public Long getBagId() {
        return this.bagId;
    }
 
    public String getBagName() {
        return this.bagName;
    }
 
    public Integer getWhetherTest() {
        return this.whetherTest;
    }
 
    public Integer getWhetherParallel() {
        return this.whetherParallel;
    }
 
    public Integer getStandardTime() {
        return this.standardTime;
    }
 
    public Integer getPrepareTime() {
        return this.prepareTime;
    }
 
    public Integer getDisassemblyTime() {
        return this.disassemblyTime;
    }
 
    public Integer getTransportTime() {
        return this.transportTime;
    }
 
    public String getMeaMethod() {
        return this.meaMethod;
    }
 
    public Integer getMeaMethodValue() {
        return this.meaMethodValue;
    }
 
    public Integer getHandlerMethod() {
        return this.handlerMethod;
    }
 
    public String getTargetId() {
        return this.targetId;
    }
 
    public String getSourceId() {
        return this.sourceId;
    }
 
    public String getXCoordinate() {
        return this.xCoordinate;
    }
 
    public String getYCoordinate() {
        return this.yCoordinate;
    }
 
    public Integer getHeight() {
        return this.height;
    }
 
    public Long getMainSequenceId() {
        return this.mainSequenceId;
    }
}