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
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
package com.qianwen.smartman.modules.tool.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/vo/ToolManageVO.class */
public class ToolManageVO implements Serializable {
    private static final long serialVersionUID = 4572928446901612337L;
    @ApiModelProperty("刀具类型id")
    private Long toolCategoryId;
    @ApiModelProperty("刀具类型")
    @Size(max = 45, message = "刀具类型长度不能超过45")
    private String toolCategory;
    @ApiModelProperty("刀具型号id")
    private Long toolModelId;
    @ApiModelProperty("刀具型号")
    @Size(max = 45, message = "刀具型号长度不能超过45")
    private String toolModel;
    @ApiModelProperty("刀具前缀编号")
    @Size(max = 45, message = "刀具前缀编号长度不能超过45")
    private String toolPrefixCode;
    @ApiModelProperty("寿命计数方式(1.按次数 2.按时间)")
    private Integer lifeCountMethod;
    @ApiModelProperty("初始寿命")
    private Integer initialLife;
    @ApiModelProperty("已用寿命")
    private Integer usedLife;
    @ApiModelProperty("剩余寿命")
    private Integer remainLife;
    @ApiModelProperty("预警值")
    private Integer warningValue;
    @ApiModelProperty("寿命状态(1.正常 2.警告 3.报警)")
    private Integer lifeState;
    @ApiModelProperty("使用状态(2.新增 1.已装刀 0.已卸刀)")
    private Integer useState;
    @ApiModelProperty("工位Id")
    private Long workstationId;
    @ApiModelProperty("工位编号")
    @Size(max = 45, message = "工位编号长度不能超过45")
    private String workstationCode;
    @ApiModelProperty("工位名称")
    @Size(max = 45, message = "工位名称长度不能超过45")
    private String workstationName;
    @ApiModelProperty("机床刀位")
    private Integer toolPosition;
    @ApiModelProperty("刀具编号")
    private String code;
    @ApiModelProperty("参数1")
    private String parameter1;
    @ApiModelProperty("参数2")
    private String parameter2;
    @ApiModelProperty("参数3")
    private String parameter3;
    @ApiModelProperty("参数4")
    private String parameter4;
    @ApiModelProperty("参数5")
    private String parameter5;
    @ApiModelProperty("参数6")
    private String parameter6;
    @ApiModelProperty("参数7")
    private String parameter7;
    @ApiModelProperty("参数8")
    private String parameter8;
    @ApiModelProperty("参数9")
    private String parameter9;
    @ApiModelProperty("参数10")
    private String parameter10;
    @ApiModelProperty("主键")
    private Long id;
 
    public void setToolCategoryId(final Long toolCategoryId) {
        this.toolCategoryId = toolCategoryId;
    }
 
    public void setToolCategory(final String toolCategory) {
        this.toolCategory = toolCategory;
    }
 
    public void setToolModelId(final Long toolModelId) {
        this.toolModelId = toolModelId;
    }
 
    public void setToolModel(final String toolModel) {
        this.toolModel = toolModel;
    }
 
    public void setToolPrefixCode(final String toolPrefixCode) {
        this.toolPrefixCode = toolPrefixCode;
    }
 
    public void setLifeCountMethod(final Integer lifeCountMethod) {
        this.lifeCountMethod = lifeCountMethod;
    }
 
    public void setInitialLife(final Integer initialLife) {
        this.initialLife = initialLife;
    }
 
    public void setUsedLife(final Integer usedLife) {
        this.usedLife = usedLife;
    }
 
    public void setRemainLife(final Integer remainLife) {
        this.remainLife = remainLife;
    }
 
    public void setWarningValue(final Integer warningValue) {
        this.warningValue = warningValue;
    }
 
    public void setLifeState(final Integer lifeState) {
        this.lifeState = lifeState;
    }
 
    public void setUseState(final Integer useState) {
        this.useState = useState;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
    }
 
    public void setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
    }
 
    public void setToolPosition(final Integer toolPosition) {
        this.toolPosition = toolPosition;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setParameter1(final String parameter1) {
        this.parameter1 = parameter1;
    }
 
    public void setParameter2(final String parameter2) {
        this.parameter2 = parameter2;
    }
 
    public void setParameter3(final String parameter3) {
        this.parameter3 = parameter3;
    }
 
    public void setParameter4(final String parameter4) {
        this.parameter4 = parameter4;
    }
 
    public void setParameter5(final String parameter5) {
        this.parameter5 = parameter5;
    }
 
    public void setParameter6(final String parameter6) {
        this.parameter6 = parameter6;
    }
 
    public void setParameter7(final String parameter7) {
        this.parameter7 = parameter7;
    }
 
    public void setParameter8(final String parameter8) {
        this.parameter8 = parameter8;
    }
 
    public void setParameter9(final String parameter9) {
        this.parameter9 = parameter9;
    }
 
    public void setParameter10(final String parameter10) {
        this.parameter10 = parameter10;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ToolManageVO) {
            ToolManageVO other = (ToolManageVO) o;
            if (other.canEqual(this)) {
                Object this$toolCategoryId = getToolCategoryId();
                Object other$toolCategoryId = other.getToolCategoryId();
                if (this$toolCategoryId == null) {
                    if (other$toolCategoryId != null) {
                        return false;
                    }
                } else if (!this$toolCategoryId.equals(other$toolCategoryId)) {
                    return false;
                }
                Object this$toolModelId = getToolModelId();
                Object other$toolModelId = other.getToolModelId();
                if (this$toolModelId == null) {
                    if (other$toolModelId != null) {
                        return false;
                    }
                } else if (!this$toolModelId.equals(other$toolModelId)) {
                    return false;
                }
                Object this$lifeCountMethod = getLifeCountMethod();
                Object other$lifeCountMethod = other.getLifeCountMethod();
                if (this$lifeCountMethod == null) {
                    if (other$lifeCountMethod != null) {
                        return false;
                    }
                } else if (!this$lifeCountMethod.equals(other$lifeCountMethod)) {
                    return false;
                }
                Object this$initialLife = getInitialLife();
                Object other$initialLife = other.getInitialLife();
                if (this$initialLife == null) {
                    if (other$initialLife != null) {
                        return false;
                    }
                } else if (!this$initialLife.equals(other$initialLife)) {
                    return false;
                }
                Object this$usedLife = getUsedLife();
                Object other$usedLife = other.getUsedLife();
                if (this$usedLife == null) {
                    if (other$usedLife != null) {
                        return false;
                    }
                } else if (!this$usedLife.equals(other$usedLife)) {
                    return false;
                }
                Object this$remainLife = getRemainLife();
                Object other$remainLife = other.getRemainLife();
                if (this$remainLife == null) {
                    if (other$remainLife != null) {
                        return false;
                    }
                } else if (!this$remainLife.equals(other$remainLife)) {
                    return false;
                }
                Object this$warningValue = getWarningValue();
                Object other$warningValue = other.getWarningValue();
                if (this$warningValue == null) {
                    if (other$warningValue != null) {
                        return false;
                    }
                } else if (!this$warningValue.equals(other$warningValue)) {
                    return false;
                }
                Object this$lifeState = getLifeState();
                Object other$lifeState = other.getLifeState();
                if (this$lifeState == null) {
                    if (other$lifeState != null) {
                        return false;
                    }
                } else if (!this$lifeState.equals(other$lifeState)) {
                    return false;
                }
                Object this$useState = getUseState();
                Object other$useState = other.getUseState();
                if (this$useState == null) {
                    if (other$useState != null) {
                        return false;
                    }
                } else if (!this$useState.equals(other$useState)) {
                    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$toolPosition = getToolPosition();
                Object other$toolPosition = other.getToolPosition();
                if (this$toolPosition == null) {
                    if (other$toolPosition != null) {
                        return false;
                    }
                } else if (!this$toolPosition.equals(other$toolPosition)) {
                    return false;
                }
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$toolCategory = getToolCategory();
                Object other$toolCategory = other.getToolCategory();
                if (this$toolCategory == null) {
                    if (other$toolCategory != null) {
                        return false;
                    }
                } else if (!this$toolCategory.equals(other$toolCategory)) {
                    return false;
                }
                Object this$toolModel = getToolModel();
                Object other$toolModel = other.getToolModel();
                if (this$toolModel == null) {
                    if (other$toolModel != null) {
                        return false;
                    }
                } else if (!this$toolModel.equals(other$toolModel)) {
                    return false;
                }
                Object this$toolPrefixCode = getToolPrefixCode();
                Object other$toolPrefixCode = other.getToolPrefixCode();
                if (this$toolPrefixCode == null) {
                    if (other$toolPrefixCode != null) {
                        return false;
                    }
                } else if (!this$toolPrefixCode.equals(other$toolPrefixCode)) {
                    return false;
                }
                Object this$workstationCode = getWorkstationCode();
                Object other$workstationCode = other.getWorkstationCode();
                if (this$workstationCode == null) {
                    if (other$workstationCode != null) {
                        return false;
                    }
                } else if (!this$workstationCode.equals(other$workstationCode)) {
                    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$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$parameter1 = getParameter1();
                Object other$parameter1 = other.getParameter1();
                if (this$parameter1 == null) {
                    if (other$parameter1 != null) {
                        return false;
                    }
                } else if (!this$parameter1.equals(other$parameter1)) {
                    return false;
                }
                Object this$parameter2 = getParameter2();
                Object other$parameter2 = other.getParameter2();
                if (this$parameter2 == null) {
                    if (other$parameter2 != null) {
                        return false;
                    }
                } else if (!this$parameter2.equals(other$parameter2)) {
                    return false;
                }
                Object this$parameter3 = getParameter3();
                Object other$parameter3 = other.getParameter3();
                if (this$parameter3 == null) {
                    if (other$parameter3 != null) {
                        return false;
                    }
                } else if (!this$parameter3.equals(other$parameter3)) {
                    return false;
                }
                Object this$parameter4 = getParameter4();
                Object other$parameter4 = other.getParameter4();
                if (this$parameter4 == null) {
                    if (other$parameter4 != null) {
                        return false;
                    }
                } else if (!this$parameter4.equals(other$parameter4)) {
                    return false;
                }
                Object this$parameter5 = getParameter5();
                Object other$parameter5 = other.getParameter5();
                if (this$parameter5 == null) {
                    if (other$parameter5 != null) {
                        return false;
                    }
                } else if (!this$parameter5.equals(other$parameter5)) {
                    return false;
                }
                Object this$parameter6 = getParameter6();
                Object other$parameter6 = other.getParameter6();
                if (this$parameter6 == null) {
                    if (other$parameter6 != null) {
                        return false;
                    }
                } else if (!this$parameter6.equals(other$parameter6)) {
                    return false;
                }
                Object this$parameter7 = getParameter7();
                Object other$parameter7 = other.getParameter7();
                if (this$parameter7 == null) {
                    if (other$parameter7 != null) {
                        return false;
                    }
                } else if (!this$parameter7.equals(other$parameter7)) {
                    return false;
                }
                Object this$parameter8 = getParameter8();
                Object other$parameter8 = other.getParameter8();
                if (this$parameter8 == null) {
                    if (other$parameter8 != null) {
                        return false;
                    }
                } else if (!this$parameter8.equals(other$parameter8)) {
                    return false;
                }
                Object this$parameter9 = getParameter9();
                Object other$parameter9 = other.getParameter9();
                if (this$parameter9 == null) {
                    if (other$parameter9 != null) {
                        return false;
                    }
                } else if (!this$parameter9.equals(other$parameter9)) {
                    return false;
                }
                Object this$parameter10 = getParameter10();
                Object other$parameter10 = other.getParameter10();
                return this$parameter10 == null ? other$parameter10 == null : this$parameter10.equals(other$parameter10);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ToolManageVO;
    }
 
    public int hashCode() {
        Object $toolCategoryId = getToolCategoryId();
        int result = (1 * 59) + ($toolCategoryId == null ? 43 : $toolCategoryId.hashCode());
        Object $toolModelId = getToolModelId();
        int result2 = (result * 59) + ($toolModelId == null ? 43 : $toolModelId.hashCode());
        Object $lifeCountMethod = getLifeCountMethod();
        int result3 = (result2 * 59) + ($lifeCountMethod == null ? 43 : $lifeCountMethod.hashCode());
        Object $initialLife = getInitialLife();
        int result4 = (result3 * 59) + ($initialLife == null ? 43 : $initialLife.hashCode());
        Object $usedLife = getUsedLife();
        int result5 = (result4 * 59) + ($usedLife == null ? 43 : $usedLife.hashCode());
        Object $remainLife = getRemainLife();
        int result6 = (result5 * 59) + ($remainLife == null ? 43 : $remainLife.hashCode());
        Object $warningValue = getWarningValue();
        int result7 = (result6 * 59) + ($warningValue == null ? 43 : $warningValue.hashCode());
        Object $lifeState = getLifeState();
        int result8 = (result7 * 59) + ($lifeState == null ? 43 : $lifeState.hashCode());
        Object $useState = getUseState();
        int result9 = (result8 * 59) + ($useState == null ? 43 : $useState.hashCode());
        Object $workstationId = getWorkstationId();
        int result10 = (result9 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $toolPosition = getToolPosition();
        int result11 = (result10 * 59) + ($toolPosition == null ? 43 : $toolPosition.hashCode());
        Object $id = getId();
        int result12 = (result11 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $toolCategory = getToolCategory();
        int result13 = (result12 * 59) + ($toolCategory == null ? 43 : $toolCategory.hashCode());
        Object $toolModel = getToolModel();
        int result14 = (result13 * 59) + ($toolModel == null ? 43 : $toolModel.hashCode());
        Object $toolPrefixCode = getToolPrefixCode();
        int result15 = (result14 * 59) + ($toolPrefixCode == null ? 43 : $toolPrefixCode.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result16 = (result15 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $workstationName = getWorkstationName();
        int result17 = (result16 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $code = getCode();
        int result18 = (result17 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $parameter1 = getParameter1();
        int result19 = (result18 * 59) + ($parameter1 == null ? 43 : $parameter1.hashCode());
        Object $parameter2 = getParameter2();
        int result20 = (result19 * 59) + ($parameter2 == null ? 43 : $parameter2.hashCode());
        Object $parameter3 = getParameter3();
        int result21 = (result20 * 59) + ($parameter3 == null ? 43 : $parameter3.hashCode());
        Object $parameter4 = getParameter4();
        int result22 = (result21 * 59) + ($parameter4 == null ? 43 : $parameter4.hashCode());
        Object $parameter5 = getParameter5();
        int result23 = (result22 * 59) + ($parameter5 == null ? 43 : $parameter5.hashCode());
        Object $parameter6 = getParameter6();
        int result24 = (result23 * 59) + ($parameter6 == null ? 43 : $parameter6.hashCode());
        Object $parameter7 = getParameter7();
        int result25 = (result24 * 59) + ($parameter7 == null ? 43 : $parameter7.hashCode());
        Object $parameter8 = getParameter8();
        int result26 = (result25 * 59) + ($parameter8 == null ? 43 : $parameter8.hashCode());
        Object $parameter9 = getParameter9();
        int result27 = (result26 * 59) + ($parameter9 == null ? 43 : $parameter9.hashCode());
        Object $parameter10 = getParameter10();
        return (result27 * 59) + ($parameter10 == null ? 43 : $parameter10.hashCode());
    }
 
    public String toString() {
        return "ToolManageVO(toolCategoryId=" + getToolCategoryId() + ", toolCategory=" + getToolCategory() + ", toolModelId=" + getToolModelId() + ", toolModel=" + getToolModel() + ", toolPrefixCode=" + getToolPrefixCode() + ", lifeCountMethod=" + getLifeCountMethod() + ", initialLife=" + getInitialLife() + ", usedLife=" + getUsedLife() + ", remainLife=" + getRemainLife() + ", warningValue=" + getWarningValue() + ", lifeState=" + getLifeState() + ", useState=" + getUseState() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", toolPosition=" + getToolPosition() + ", code=" + getCode() + ", parameter1=" + getParameter1() + ", parameter2=" + getParameter2() + ", parameter3=" + getParameter3() + ", parameter4=" + getParameter4() + ", parameter5=" + getParameter5() + ", parameter6=" + getParameter6() + ", parameter7=" + getParameter7() + ", parameter8=" + getParameter8() + ", parameter9=" + getParameter9() + ", parameter10=" + getParameter10() + ", id=" + getId() + ")";
    }
 
    public Long getToolCategoryId() {
        return this.toolCategoryId;
    }
 
    public String getToolCategory() {
        return this.toolCategory;
    }
 
    public Long getToolModelId() {
        return this.toolModelId;
    }
 
    public String getToolModel() {
        return this.toolModel;
    }
 
    public String getToolPrefixCode() {
        return this.toolPrefixCode;
    }
 
    public Integer getLifeCountMethod() {
        return this.lifeCountMethod;
    }
 
    public Integer getInitialLife() {
        return this.initialLife;
    }
 
    public Integer getUsedLife() {
        return this.usedLife;
    }
 
    public Integer getRemainLife() {
        return this.remainLife;
    }
 
    public Integer getWarningValue() {
        return this.warningValue;
    }
 
    public Integer getLifeState() {
        return this.lifeState;
    }
 
    public Integer getUseState() {
        return this.useState;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public Integer getToolPosition() {
        return this.toolPosition;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getParameter1() {
        return this.parameter1;
    }
 
    public String getParameter2() {
        return this.parameter2;
    }
 
    public String getParameter3() {
        return this.parameter3;
    }
 
    public String getParameter4() {
        return this.parameter4;
    }
 
    public String getParameter5() {
        return this.parameter5;
    }
 
    public String getParameter6() {
        return this.parameter6;
    }
 
    public String getParameter7() {
        return this.parameter7;
    }
 
    public String getParameter8() {
        return this.parameter8;
    }
 
    public String getParameter9() {
        return this.parameter9;
    }
 
    public String getParameter10() {
        return this.parameter10;
    }
 
    public Long getId() {
        return this.id;
    }
}