yangys
2024-05-06 e19227de97d21c10fd22536f85c8153e63072d0c
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
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
package com.qianwen.smartman.modules.cps.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import com.qianwen.core.coderule.annotation.CodeRuleObjectType;
import com.qianwen.core.coderule.constant.enums.MetaObjectTypeEnum;
import com.qianwen.smartman.modules.system.vo.ICard;
 
@CodeRuleObjectType(MetaObjectTypeEnum.WORK_STATION)
public class WorkstationVO implements ICard {
    private static final long serialVersionUID = -8938927851683015090L;
    @ApiModelProperty("工位图片地址")
    public String avatar;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("主键")
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("工位组id")
    private Long groupId;
    @ApiModelProperty("工位组名称")
    private String groupName;
    @ApiModelProperty("工位编号")
    private String code;
    @ApiModelProperty("工位名称")
    private String name;
    @ApiModelProperty("工位类型:空、机器、人工")
    private Integer type;
    @ApiModelProperty("生产日历编码")
    private String calendarCode;
    @ApiModelProperty("生产日历名称")
    private String calendarName;
    @ApiModelProperty("待生效生产日历编码")
    private String calendarCodeWaiting;
    @ApiModelProperty("标准效率")
    private BigDecimal standardEfficiency;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("产能组")
    private Long productionCapacityGroup;
    @ApiModelProperty("扩展id")
    private String extendId;
    @ApiModelProperty("机器id")
    private Long machineId;
    @ApiModelProperty("机器编号")
    private String machineCode;
    @ApiModelProperty("机器名称")
    private String machineName;
    @ApiModelProperty("机器品牌")
    private String machineBrand;
    @ApiModelProperty("机器PIN码")
    private String machinePinCode;
    @ApiModelProperty("机器短编号")
    private String machineShortCode;
    private String bkColor;
    @ApiModelProperty("工位设备类型")
    private Integer deviceType;
    @ApiModelProperty("工位加工类型")
    private Integer properties;
    @ApiModelProperty("采集开关")
    private Integer collectSwitch;
    private Date createTime;
    @ApiModelProperty("业务状态 1启用 0 停用")
    private Integer status;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("ftp目录ID")
    private Long ftpDirectoryId;
    @ApiModelProperty("ftp目录名称")
    private String ftpDirectoryName;
    @ApiModelProperty("程序传输方式 1FTP 2串口")
    private Integer transmissionMethod;
    @ApiModelProperty("权限ID")
    private Long createDept;
    @ApiModelProperty("机器类型id")
    private Long machineTypeId;
    @ApiModelProperty("机器类型编码")
    private String machineTypeCode;
    @ApiModelProperty("机器类型名称")
    private String machineTypeName;
    @ApiModelProperty("机器规格")
    private String machineModel;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationVO$WorkstationVOBuilder.class */
    public static class WorkstationVOBuilder {
        private String avatar;
        private Long id;
        private Long groupId;
        private String groupName;
        private String code;
        private String name;
        private Integer type;
        private String calendarCode;
        private String calendarName;
        private String calendarCodeWaiting;
        private BigDecimal standardEfficiency;
        private Long productionCapacityGroup;
        private String extendId;
        private Long machineId;
        private String machineCode;
        private String machineName;
        private String machineBrand;
        private String machinePinCode;
        private String machineShortCode;
        private String bkColor;
        private Integer deviceType;
        private Integer properties;
        private Integer collectSwitch;
        private Date createTime;
        private Integer status;
        private Long ftpDirectoryId;
        private String ftpDirectoryName;
        private Integer transmissionMethod;
        private Long createDept;
        private Long machineTypeId;
        private String machineTypeCode;
        private String machineTypeName;
        private String machineModel;
 
        WorkstationVOBuilder() {
        }
 
        public WorkstationVOBuilder avatar(final String avatar) {
            this.avatar = avatar;
            return this;
        }
 
        public WorkstationVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public WorkstationVOBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public WorkstationVOBuilder groupName(final String groupName) {
            this.groupName = groupName;
            return this;
        }
 
        public WorkstationVOBuilder code(final String code) {
            this.code = code;
            return this;
        }
 
        public WorkstationVOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public WorkstationVOBuilder type(final Integer type) {
            this.type = type;
            return this;
        }
 
        public WorkstationVOBuilder calendarCode(final String calendarCode) {
            this.calendarCode = calendarCode;
            return this;
        }
 
        public WorkstationVOBuilder calendarName(final String calendarName) {
            this.calendarName = calendarName;
            return this;
        }
 
        public WorkstationVOBuilder calendarCodeWaiting(final String calendarCodeWaiting) {
            this.calendarCodeWaiting = calendarCodeWaiting;
            return this;
        }
 
        public WorkstationVOBuilder standardEfficiency(final BigDecimal standardEfficiency) {
            this.standardEfficiency = standardEfficiency;
            return this;
        }
 
        public WorkstationVOBuilder productionCapacityGroup(final Long productionCapacityGroup) {
            this.productionCapacityGroup = productionCapacityGroup;
            return this;
        }
 
        public WorkstationVOBuilder extendId(final String extendId) {
            this.extendId = extendId;
            return this;
        }
 
        public WorkstationVOBuilder machineId(final Long machineId) {
            this.machineId = machineId;
            return this;
        }
 
        public WorkstationVOBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public WorkstationVOBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public WorkstationVOBuilder machineBrand(final String machineBrand) {
            this.machineBrand = machineBrand;
            return this;
        }
 
        public WorkstationVOBuilder machinePinCode(final String machinePinCode) {
            this.machinePinCode = machinePinCode;
            return this;
        }
 
        public WorkstationVOBuilder machineShortCode(final String machineShortCode) {
            this.machineShortCode = machineShortCode;
            return this;
        }
 
        public WorkstationVOBuilder bkColor(final String bkColor) {
            this.bkColor = bkColor;
            return this;
        }
 
        public WorkstationVOBuilder deviceType(final Integer deviceType) {
            this.deviceType = deviceType;
            return this;
        }
 
        public WorkstationVOBuilder properties(final Integer properties) {
            this.properties = properties;
            return this;
        }
 
        public WorkstationVOBuilder collectSwitch(final Integer collectSwitch) {
            this.collectSwitch = collectSwitch;
            return this;
        }
 
        public WorkstationVOBuilder createTime(final Date createTime) {
            this.createTime = createTime;
            return this;
        }
 
        public WorkstationVOBuilder status(final Integer status) {
            this.status = status;
            return this;
        }
 
        public WorkstationVOBuilder ftpDirectoryId(final Long ftpDirectoryId) {
            this.ftpDirectoryId = ftpDirectoryId;
            return this;
        }
 
        public WorkstationVOBuilder ftpDirectoryName(final String ftpDirectoryName) {
            this.ftpDirectoryName = ftpDirectoryName;
            return this;
        }
 
        public WorkstationVOBuilder transmissionMethod(final Integer transmissionMethod) {
            this.transmissionMethod = transmissionMethod;
            return this;
        }
 
        public WorkstationVOBuilder createDept(final Long createDept) {
            this.createDept = createDept;
            return this;
        }
 
        public WorkstationVOBuilder machineTypeId(final Long machineTypeId) {
            this.machineTypeId = machineTypeId;
            return this;
        }
 
        public WorkstationVOBuilder machineTypeCode(final String machineTypeCode) {
            this.machineTypeCode = machineTypeCode;
            return this;
        }
 
        public WorkstationVOBuilder machineTypeName(final String machineTypeName) {
            this.machineTypeName = machineTypeName;
            return this;
        }
 
        public WorkstationVOBuilder machineModel(final String machineModel) {
            this.machineModel = machineModel;
            return this;
        }
 
        public WorkstationVO build() {
            return new WorkstationVO(this.avatar, this.id, this.groupId, this.groupName, this.code, this.name, this.type, this.calendarCode, this.calendarName, this.calendarCodeWaiting, this.standardEfficiency, this.productionCapacityGroup, this.extendId, this.machineId, this.machineCode, this.machineName, this.machineBrand, this.machinePinCode, this.machineShortCode, this.bkColor, this.deviceType, this.properties, this.collectSwitch, this.createTime, this.status, this.ftpDirectoryId, this.ftpDirectoryName, this.transmissionMethod, this.createDept, this.machineTypeId, this.machineTypeCode, this.machineTypeName, this.machineModel);
        }
 
        public String toString() {
            return "WorkstationVO.WorkstationVOBuilder(avatar=" + this.avatar + ", id=" + this.id + ", groupId=" + this.groupId + ", groupName=" + this.groupName + ", code=" + this.code + ", name=" + this.name + ", type=" + this.type + ", calendarCode=" + this.calendarCode + ", calendarName=" + this.calendarName + ", calendarCodeWaiting=" + this.calendarCodeWaiting + ", standardEfficiency=" + this.standardEfficiency + ", productionCapacityGroup=" + this.productionCapacityGroup + ", extendId=" + this.extendId + ", machineId=" + this.machineId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machineBrand=" + this.machineBrand + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", bkColor=" + this.bkColor + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", collectSwitch=" + this.collectSwitch + ", createTime=" + this.createTime + ", status=" + this.status + ", ftpDirectoryId=" + this.ftpDirectoryId + ", ftpDirectoryName=" + this.ftpDirectoryName + ", transmissionMethod=" + this.transmissionMethod + ", createDept=" + this.createDept + ", machineTypeId=" + this.machineTypeId + ", machineTypeCode=" + this.machineTypeCode + ", machineTypeName=" + this.machineTypeName + ", machineModel=" + this.machineModel + ")";
        }
    }
 
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setGroupName(final String groupName) {
        this.groupName = groupName;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setType(final Integer type) {
        this.type = type;
    }
 
    public void setCalendarCode(final String calendarCode) {
        this.calendarCode = calendarCode;
    }
 
    public void setCalendarName(final String calendarName) {
        this.calendarName = calendarName;
    }
 
    public void setCalendarCodeWaiting(final String calendarCodeWaiting) {
        this.calendarCodeWaiting = calendarCodeWaiting;
    }
 
    public void setStandardEfficiency(final BigDecimal standardEfficiency) {
        this.standardEfficiency = standardEfficiency;
    }
 
    public void setProductionCapacityGroup(final Long productionCapacityGroup) {
        this.productionCapacityGroup = productionCapacityGroup;
    }
 
    public void setExtendId(final String extendId) {
        this.extendId = extendId;
    }
 
    public void setMachineId(final Long machineId) {
        this.machineId = machineId;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setMachineBrand(final String machineBrand) {
        this.machineBrand = machineBrand;
    }
 
    public void setMachinePinCode(final String machinePinCode) {
        this.machinePinCode = machinePinCode;
    }
 
    public void setMachineShortCode(final String machineShortCode) {
        this.machineShortCode = machineShortCode;
    }
 
    public void setBkColor(final String bkColor) {
        this.bkColor = bkColor;
    }
 
    public void setDeviceType(final Integer deviceType) {
        this.deviceType = deviceType;
    }
 
    public void setProperties(final Integer properties) {
        this.properties = properties;
    }
 
    public void setCollectSwitch(final Integer collectSwitch) {
        this.collectSwitch = collectSwitch;
    }
 
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public void setFtpDirectoryId(final Long ftpDirectoryId) {
        this.ftpDirectoryId = ftpDirectoryId;
    }
 
    public void setFtpDirectoryName(final String ftpDirectoryName) {
        this.ftpDirectoryName = ftpDirectoryName;
    }
 
    public void setTransmissionMethod(final Integer transmissionMethod) {
        this.transmissionMethod = transmissionMethod;
    }
 
    public void setCreateDept(final Long createDept) {
        this.createDept = createDept;
    }
 
    public void setMachineTypeId(final Long machineTypeId) {
        this.machineTypeId = machineTypeId;
    }
 
    public void setMachineTypeCode(final String machineTypeCode) {
        this.machineTypeCode = machineTypeCode;
    }
 
    public void setMachineTypeName(final String machineTypeName) {
        this.machineTypeName = machineTypeName;
    }
 
    public void setMachineModel(final String machineModel) {
        this.machineModel = machineModel;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationVO) {
            WorkstationVO other = (WorkstationVO) o;
            if (other.canEqual(this)) {
                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$groupId = getGroupId();
                Object other$groupId = other.getGroupId();
                if (this$groupId == null) {
                    if (other$groupId != null) {
                        return false;
                    }
                } else if (!this$groupId.equals(other$groupId)) {
                    return false;
                }
                Object this$type = getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }
                Object this$productionCapacityGroup = getProductionCapacityGroup();
                Object other$productionCapacityGroup = other.getProductionCapacityGroup();
                if (this$productionCapacityGroup == null) {
                    if (other$productionCapacityGroup != null) {
                        return false;
                    }
                } else if (!this$productionCapacityGroup.equals(other$productionCapacityGroup)) {
                    return false;
                }
                Object this$machineId = getMachineId();
                Object other$machineId = other.getMachineId();
                if (this$machineId == null) {
                    if (other$machineId != null) {
                        return false;
                    }
                } else if (!this$machineId.equals(other$machineId)) {
                    return false;
                }
                Object this$deviceType = getDeviceType();
                Object other$deviceType = other.getDeviceType();
                if (this$deviceType == null) {
                    if (other$deviceType != null) {
                        return false;
                    }
                } else if (!this$deviceType.equals(other$deviceType)) {
                    return false;
                }
                Object this$properties = getProperties();
                Object other$properties = other.getProperties();
                if (this$properties == null) {
                    if (other$properties != null) {
                        return false;
                    }
                } else if (!this$properties.equals(other$properties)) {
                    return false;
                }
                Object this$collectSwitch = getCollectSwitch();
                Object other$collectSwitch = other.getCollectSwitch();
                if (this$collectSwitch == null) {
                    if (other$collectSwitch != null) {
                        return false;
                    }
                } else if (!this$collectSwitch.equals(other$collectSwitch)) {
                    return false;
                }
                Object this$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    return false;
                }
                Object this$ftpDirectoryId = getFtpDirectoryId();
                Object other$ftpDirectoryId = other.getFtpDirectoryId();
                if (this$ftpDirectoryId == null) {
                    if (other$ftpDirectoryId != null) {
                        return false;
                    }
                } else if (!this$ftpDirectoryId.equals(other$ftpDirectoryId)) {
                    return false;
                }
                Object this$transmissionMethod = getTransmissionMethod();
                Object other$transmissionMethod = other.getTransmissionMethod();
                if (this$transmissionMethod == null) {
                    if (other$transmissionMethod != null) {
                        return false;
                    }
                } else if (!this$transmissionMethod.equals(other$transmissionMethod)) {
                    return false;
                }
                Object this$createDept = getCreateDept();
                Object other$createDept = other.getCreateDept();
                if (this$createDept == null) {
                    if (other$createDept != null) {
                        return false;
                    }
                } else if (!this$createDept.equals(other$createDept)) {
                    return false;
                }
                Object this$machineTypeId = getMachineTypeId();
                Object other$machineTypeId = other.getMachineTypeId();
                if (this$machineTypeId == null) {
                    if (other$machineTypeId != null) {
                        return false;
                    }
                } else if (!this$machineTypeId.equals(other$machineTypeId)) {
                    return false;
                }
                Object this$avatar = getAvatar();
                Object other$avatar = other.getAvatar();
                if (this$avatar == null) {
                    if (other$avatar != null) {
                        return false;
                    }
                } else if (!this$avatar.equals(other$avatar)) {
                    return false;
                }
                Object this$groupName = getGroupName();
                Object other$groupName = other.getGroupName();
                if (this$groupName == null) {
                    if (other$groupName != null) {
                        return false;
                    }
                } else if (!this$groupName.equals(other$groupName)) {
                    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$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$calendarCode = getCalendarCode();
                Object other$calendarCode = other.getCalendarCode();
                if (this$calendarCode == null) {
                    if (other$calendarCode != null) {
                        return false;
                    }
                } else if (!this$calendarCode.equals(other$calendarCode)) {
                    return false;
                }
                Object this$calendarName = getCalendarName();
                Object other$calendarName = other.getCalendarName();
                if (this$calendarName == null) {
                    if (other$calendarName != null) {
                        return false;
                    }
                } else if (!this$calendarName.equals(other$calendarName)) {
                    return false;
                }
                Object this$calendarCodeWaiting = getCalendarCodeWaiting();
                Object other$calendarCodeWaiting = other.getCalendarCodeWaiting();
                if (this$calendarCodeWaiting == null) {
                    if (other$calendarCodeWaiting != null) {
                        return false;
                    }
                } else if (!this$calendarCodeWaiting.equals(other$calendarCodeWaiting)) {
                    return false;
                }
                Object this$standardEfficiency = getStandardEfficiency();
                Object other$standardEfficiency = other.getStandardEfficiency();
                if (this$standardEfficiency == null) {
                    if (other$standardEfficiency != null) {
                        return false;
                    }
                } else if (!this$standardEfficiency.equals(other$standardEfficiency)) {
                    return false;
                }
                Object this$extendId = getExtendId();
                Object other$extendId = other.getExtendId();
                if (this$extendId == null) {
                    if (other$extendId != null) {
                        return false;
                    }
                } else if (!this$extendId.equals(other$extendId)) {
                    return false;
                }
                Object this$machineCode = getMachineCode();
                Object other$machineCode = other.getMachineCode();
                if (this$machineCode == null) {
                    if (other$machineCode != null) {
                        return false;
                    }
                } else if (!this$machineCode.equals(other$machineCode)) {
                    return false;
                }
                Object this$machineName = getMachineName();
                Object other$machineName = other.getMachineName();
                if (this$machineName == null) {
                    if (other$machineName != null) {
                        return false;
                    }
                } else if (!this$machineName.equals(other$machineName)) {
                    return false;
                }
                Object this$machineBrand = getMachineBrand();
                Object other$machineBrand = other.getMachineBrand();
                if (this$machineBrand == null) {
                    if (other$machineBrand != null) {
                        return false;
                    }
                } else if (!this$machineBrand.equals(other$machineBrand)) {
                    return false;
                }
                Object this$machinePinCode = getMachinePinCode();
                Object other$machinePinCode = other.getMachinePinCode();
                if (this$machinePinCode == null) {
                    if (other$machinePinCode != null) {
                        return false;
                    }
                } else if (!this$machinePinCode.equals(other$machinePinCode)) {
                    return false;
                }
                Object this$machineShortCode = getMachineShortCode();
                Object other$machineShortCode = other.getMachineShortCode();
                if (this$machineShortCode == null) {
                    if (other$machineShortCode != null) {
                        return false;
                    }
                } else if (!this$machineShortCode.equals(other$machineShortCode)) {
                    return false;
                }
                Object this$bkColor = getBkColor();
                Object other$bkColor = other.getBkColor();
                if (this$bkColor == null) {
                    if (other$bkColor != null) {
                        return false;
                    }
                } else if (!this$bkColor.equals(other$bkColor)) {
                    return false;
                }
                Object this$createTime = getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }
                Object this$ftpDirectoryName = getFtpDirectoryName();
                Object other$ftpDirectoryName = other.getFtpDirectoryName();
                if (this$ftpDirectoryName == null) {
                    if (other$ftpDirectoryName != null) {
                        return false;
                    }
                } else if (!this$ftpDirectoryName.equals(other$ftpDirectoryName)) {
                    return false;
                }
                Object this$machineTypeCode = getMachineTypeCode();
                Object other$machineTypeCode = other.getMachineTypeCode();
                if (this$machineTypeCode == null) {
                    if (other$machineTypeCode != null) {
                        return false;
                    }
                } else if (!this$machineTypeCode.equals(other$machineTypeCode)) {
                    return false;
                }
                Object this$machineTypeName = getMachineTypeName();
                Object other$machineTypeName = other.getMachineTypeName();
                if (this$machineTypeName == null) {
                    if (other$machineTypeName != null) {
                        return false;
                    }
                } else if (!this$machineTypeName.equals(other$machineTypeName)) {
                    return false;
                }
                Object this$machineModel = getMachineModel();
                Object other$machineModel = other.getMachineModel();
                return this$machineModel == null ? other$machineModel == null : this$machineModel.equals(other$machineModel);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $groupId = getGroupId();
        int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $type = getType();
        int result3 = (result2 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $productionCapacityGroup = getProductionCapacityGroup();
        int result4 = (result3 * 59) + ($productionCapacityGroup == null ? 43 : $productionCapacityGroup.hashCode());
        Object $machineId = getMachineId();
        int result5 = (result4 * 59) + ($machineId == null ? 43 : $machineId.hashCode());
        Object $deviceType = getDeviceType();
        int result6 = (result5 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
        Object $properties = getProperties();
        int result7 = (result6 * 59) + ($properties == null ? 43 : $properties.hashCode());
        Object $collectSwitch = getCollectSwitch();
        int result8 = (result7 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
        Object $status = getStatus();
        int result9 = (result8 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $ftpDirectoryId = getFtpDirectoryId();
        int result10 = (result9 * 59) + ($ftpDirectoryId == null ? 43 : $ftpDirectoryId.hashCode());
        Object $transmissionMethod = getTransmissionMethod();
        int result11 = (result10 * 59) + ($transmissionMethod == null ? 43 : $transmissionMethod.hashCode());
        Object $createDept = getCreateDept();
        int result12 = (result11 * 59) + ($createDept == null ? 43 : $createDept.hashCode());
        Object $machineTypeId = getMachineTypeId();
        int result13 = (result12 * 59) + ($machineTypeId == null ? 43 : $machineTypeId.hashCode());
        Object $avatar = getAvatar();
        int result14 = (result13 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
        Object $groupName = getGroupName();
        int result15 = (result14 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
        Object $code = getCode();
        int result16 = (result15 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result17 = (result16 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $calendarCode = getCalendarCode();
        int result18 = (result17 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
        Object $calendarName = getCalendarName();
        int result19 = (result18 * 59) + ($calendarName == null ? 43 : $calendarName.hashCode());
        Object $calendarCodeWaiting = getCalendarCodeWaiting();
        int result20 = (result19 * 59) + ($calendarCodeWaiting == null ? 43 : $calendarCodeWaiting.hashCode());
        Object $standardEfficiency = getStandardEfficiency();
        int result21 = (result20 * 59) + ($standardEfficiency == null ? 43 : $standardEfficiency.hashCode());
        Object $extendId = getExtendId();
        int result22 = (result21 * 59) + ($extendId == null ? 43 : $extendId.hashCode());
        Object $machineCode = getMachineCode();
        int result23 = (result22 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result24 = (result23 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $machineBrand = getMachineBrand();
        int result25 = (result24 * 59) + ($machineBrand == null ? 43 : $machineBrand.hashCode());
        Object $machinePinCode = getMachinePinCode();
        int result26 = (result25 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode());
        Object $machineShortCode = getMachineShortCode();
        int result27 = (result26 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode());
        Object $bkColor = getBkColor();
        int result28 = (result27 * 59) + ($bkColor == null ? 43 : $bkColor.hashCode());
        Object $createTime = getCreateTime();
        int result29 = (result28 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $ftpDirectoryName = getFtpDirectoryName();
        int result30 = (result29 * 59) + ($ftpDirectoryName == null ? 43 : $ftpDirectoryName.hashCode());
        Object $machineTypeCode = getMachineTypeCode();
        int result31 = (result30 * 59) + ($machineTypeCode == null ? 43 : $machineTypeCode.hashCode());
        Object $machineTypeName = getMachineTypeName();
        int result32 = (result31 * 59) + ($machineTypeName == null ? 43 : $machineTypeName.hashCode());
        Object $machineModel = getMachineModel();
        return (result32 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
    }
 
    public String toString() {
        return "WorkstationVO(avatar=" + getAvatar() + ", id=" + getId() + ", groupId=" + getGroupId() + ", groupName=" + getGroupName() + ", code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", calendarCode=" + getCalendarCode() + ", calendarName=" + getCalendarName() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ", standardEfficiency=" + getStandardEfficiency() + ", productionCapacityGroup=" + getProductionCapacityGroup() + ", extendId=" + getExtendId() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineBrand=" + getMachineBrand() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", bkColor=" + getBkColor() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", collectSwitch=" + getCollectSwitch() + ", createTime=" + getCreateTime() + ", status=" + getStatus() + ", ftpDirectoryId=" + getFtpDirectoryId() + ", ftpDirectoryName=" + getFtpDirectoryName() + ", transmissionMethod=" + getTransmissionMethod() + ", createDept=" + getCreateDept() + ", machineTypeId=" + getMachineTypeId() + ", machineTypeCode=" + getMachineTypeCode() + ", machineTypeName=" + getMachineTypeName() + ", machineModel=" + getMachineModel() + ")";
    }
 
    public static WorkstationVOBuilder builder() {
        return new WorkstationVOBuilder();
    }
 
    public WorkstationVO(final String avatar, final Long id, final Long groupId, final String groupName, final String code, final String name, final Integer type, final String calendarCode, final String calendarName, final String calendarCodeWaiting, final BigDecimal standardEfficiency, final Long productionCapacityGroup, final String extendId, final Long machineId, final String machineCode, final String machineName, final String machineBrand, final String machinePinCode, final String machineShortCode, final String bkColor, final Integer deviceType, final Integer properties, final Integer collectSwitch, final Date createTime, final Integer status, final Long ftpDirectoryId, final String ftpDirectoryName, final Integer transmissionMethod, final Long createDept, final Long machineTypeId, final String machineTypeCode, final String machineTypeName, final String machineModel) {
        this.createTime = new Date();
        this.avatar = avatar;
        this.id = id;
        this.groupId = groupId;
        this.groupName = groupName;
        this.code = code;
        this.name = name;
        this.type = type;
        this.calendarCode = calendarCode;
        this.calendarName = calendarName;
        this.calendarCodeWaiting = calendarCodeWaiting;
        this.standardEfficiency = standardEfficiency;
        this.productionCapacityGroup = productionCapacityGroup;
        this.extendId = extendId;
        this.machineId = machineId;
        this.machineCode = machineCode;
        this.machineName = machineName;
        this.machineBrand = machineBrand;
        this.machinePinCode = machinePinCode;
        this.machineShortCode = machineShortCode;
        this.bkColor = bkColor;
        this.deviceType = deviceType;
        this.properties = properties;
        this.collectSwitch = collectSwitch;
        this.createTime = createTime;
        this.status = status;
        this.ftpDirectoryId = ftpDirectoryId;
        this.ftpDirectoryName = ftpDirectoryName;
        this.transmissionMethod = transmissionMethod;
        this.createDept = createDept;
        this.machineTypeId = machineTypeId;
        this.machineTypeCode = machineTypeCode;
        this.machineTypeName = machineTypeName;
        this.machineModel = machineModel;
    }
 
    public WorkstationVO() {
        this.createTime = new Date();
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public String getGroupName() {
        return this.groupName;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Integer getType() {
        return this.type;
    }
 
    public String getCalendarCode() {
        return this.calendarCode;
    }
 
    public String getCalendarName() {
        return this.calendarName;
    }
 
    public String getCalendarCodeWaiting() {
        return this.calendarCodeWaiting;
    }
 
    public BigDecimal getStandardEfficiency() {
        return this.standardEfficiency;
    }
 
    public Long getProductionCapacityGroup() {
        return this.productionCapacityGroup;
    }
 
    public String getExtendId() {
        return this.extendId;
    }
 
    public Long getMachineId() {
        return this.machineId;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public String getMachineBrand() {
        return this.machineBrand;
    }
 
    public String getMachinePinCode() {
        return this.machinePinCode;
    }
 
    public String getMachineShortCode() {
        return this.machineShortCode;
    }
 
    @Override // org.springblade.modules.system.vo.ICard
    public String getBkColor() {
        return this.bkColor;
    }
 
    public Integer getDeviceType() {
        return this.deviceType;
    }
 
    public Integer getProperties() {
        return this.properties;
    }
 
    public Integer getCollectSwitch() {
        return this.collectSwitch;
    }
 
    public Date getCreateTime() {
        return this.createTime;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public Long getFtpDirectoryId() {
        return this.ftpDirectoryId;
    }
 
    public String getFtpDirectoryName() {
        return this.ftpDirectoryName;
    }
 
    public Integer getTransmissionMethod() {
        return this.transmissionMethod;
    }
 
    public Long getCreateDept() {
        return this.createDept;
    }
 
    public Long getMachineTypeId() {
        return this.machineTypeId;
    }
 
    public String getMachineTypeCode() {
        return this.machineTypeCode;
    }
 
    public String getMachineTypeName() {
        return this.machineTypeName;
    }
 
    public String getMachineModel() {
        return this.machineModel;
    }
 
    @Override // org.springblade.modules.system.vo.ICard
    public String getCardTitle() {
        return getName();
    }
 
    @Override // org.springblade.modules.system.vo.ICard
    public String getBkImage() {
        return this.avatar;
    }
 
    @Override // org.springblade.modules.system.vo.ICard
    public String getStatusCode() {
        return null;
    }
}