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
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
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
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.time.LocalDateTime;
import java.util.Date;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_machine")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Machine.class */
public class Machine extends TenantEntity {
    private static final long serialVersionUID = -883848031177958203L;
    private String extendId;
    @ApiModelProperty("机器编号")
    private String machineCode;
    @ApiModelProperty("机器名称")
    private String machineName;
    private Integer collectSwitch;
    private String collectDriver;
    private String typeName;
    private String machineType;
    @ApiModelProperty("机器规格")
    private String machineModel;
    @ApiModelProperty("机器品牌")
    private String brand;
    @ApiModelProperty("机器图片")
    private String avatar;
    @ApiModelProperty("短编号")
    private String shortCode;
    @ApiModelProperty("机器PIN码")
    private String pinCode;
    @ApiModelProperty("机器类型id")
    private Long machineTypeId;
    @ApiModelProperty("机器序列号")
    private String serialNo;
    @ApiModelProperty("产地国别")
    private String countryOfManufacture;
    @ApiModelProperty("生命状态")
    private Integer machineLifeStatus;
    @ApiModelProperty("电压")
    private BigDecimal voltage;
    @ApiModelProperty("轮廓尺寸")
    private BigDecimal dimensions;
    @ApiModelProperty("净重")
    private BigDecimal netWeight;
    @ApiModelProperty("功率")
    private BigDecimal power;
    @ApiModelProperty("系统名称")
    private String systemName;
    @ApiModelProperty("机器铭牌")
    private String nameplate;
    @ApiModelProperty("软件版本")
    private String softwareVersion;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("所属机器组id")
    private Long groupId;
    @ApiModelProperty("发票金额")
    private BigDecimal invoiceValue;
    @ApiModelProperty("资产原值")
    private BigDecimal ovfa;
    @ApiModelProperty("折旧年限")
    private Integer depreciationYear;
    @ApiModelProperty("资产净值")
    private BigDecimal netAssetValue;
    @ApiModelProperty("资产编号")
    private String assetsCode;
    @ApiModelProperty("生产日期")
    private Date productionTime;
    @ApiModelProperty("交付日期")
    private Date deliveryTime;
    @ApiModelProperty("制造厂商")
    private String manufacturer;
    @ApiModelProperty("出厂档案")
    private String factoryFile;
    @ApiModelProperty("出厂编号")
    private String factoryNo;
    @ApiModelProperty("安装位置")
    private String installationLocation;
    @ApiModelProperty("转固日期")
    private Date turnToFixedAssetsTime;
    @ApiModelProperty("管理等级")
    private Integer managementClass;
    @ApiModelProperty("使用部门")
    private Long organizationId;
    @ApiModelProperty("生产线")
    private String productionLine;
    @ApiModelProperty("是否是特种设备 1 - 是 ; 0 - 否")
    private Integer elaborateEquipment;
    @ApiModelProperty("使用状态")
    private Integer machineUseStatus;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("责任人")
    private Long employeeId;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("保养状态")
    private Integer maintenanceStatus;
    @ApiModelProperty("维修状态")
    private Integer repairStatus;
    @ApiModelProperty("最后维修时间")
    private LocalDateTime lastRepairTime;
    @ApiModelProperty("最后保养时间")
    private LocalDateTime lastMaintainTime;
    @ApiModelProperty("下次保养时间")
    private LocalDateTime nextMaintainTime;
    @ApiModelProperty("最后点检时间")
    private LocalDateTime lastCheckTime;
    @TableField(exist = false)
    @ApiModelProperty("是否创建同名工位")
    private String linkWay;
    @ApiModelProperty("外部键")
    private String externalKey;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Machine$MachineBuilder.class */
    public static class MachineBuilder {
        private String extendId;
        private String machineCode;
        private String machineName;
        private Integer collectSwitch;
        private String collectDriver;
        private String typeName;
        private String machineType;
        private String machineModel;
        private String brand;
        private String avatar;
        private String shortCode;
        private String pinCode;
        private Long machineTypeId;
        private String serialNo;
        private String countryOfManufacture;
        private Integer machineLifeStatus;
        private BigDecimal voltage;
        private BigDecimal dimensions;
        private BigDecimal netWeight;
        private BigDecimal power;
        private String systemName;
        private String nameplate;
        private String softwareVersion;
        private Long groupId;
        private BigDecimal invoiceValue;
        private BigDecimal ovfa;
        private Integer depreciationYear;
        private BigDecimal netAssetValue;
        private String assetsCode;
        private Date productionTime;
        private Date deliveryTime;
        private String manufacturer;
        private String factoryFile;
        private String factoryNo;
        private String installationLocation;
        private Date turnToFixedAssetsTime;
        private Integer managementClass;
        private Long organizationId;
        private String productionLine;
        private Integer elaborateEquipment;
        private Integer machineUseStatus;
        private Long employeeId;
        private String remark;
        private Integer maintenanceStatus;
        private Integer repairStatus;
        private LocalDateTime lastRepairTime;
        private LocalDateTime lastMaintainTime;
        private LocalDateTime nextMaintainTime;
        private LocalDateTime lastCheckTime;
        private String linkWay;
        private String externalKey;
 
        MachineBuilder() {
        }
 
        public MachineBuilder extendId(final String extendId) {
            this.extendId = extendId;
            return this;
        }
 
        public MachineBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public MachineBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public MachineBuilder collectSwitch(final Integer collectSwitch) {
            this.collectSwitch = collectSwitch;
            return this;
        }
 
        public MachineBuilder collectDriver(final String collectDriver) {
            this.collectDriver = collectDriver;
            return this;
        }
 
        public MachineBuilder typeName(final String typeName) {
            this.typeName = typeName;
            return this;
        }
 
        public MachineBuilder machineType(final String machineType) {
            this.machineType = machineType;
            return this;
        }
 
        public MachineBuilder machineModel(final String machineModel) {
            this.machineModel = machineModel;
            return this;
        }
 
        public MachineBuilder brand(final String brand) {
            this.brand = brand;
            return this;
        }
 
        public MachineBuilder avatar(final String avatar) {
            this.avatar = avatar;
            return this;
        }
 
        public MachineBuilder shortCode(final String shortCode) {
            this.shortCode = shortCode;
            return this;
        }
 
        public MachineBuilder pinCode(final String pinCode) {
            this.pinCode = pinCode;
            return this;
        }
 
        public MachineBuilder machineTypeId(final Long machineTypeId) {
            this.machineTypeId = machineTypeId;
            return this;
        }
 
        public MachineBuilder serialNo(final String serialNo) {
            this.serialNo = serialNo;
            return this;
        }
 
        public MachineBuilder countryOfManufacture(final String countryOfManufacture) {
            this.countryOfManufacture = countryOfManufacture;
            return this;
        }
 
        public MachineBuilder machineLifeStatus(final Integer machineLifeStatus) {
            this.machineLifeStatus = machineLifeStatus;
            return this;
        }
 
        public MachineBuilder voltage(final BigDecimal voltage) {
            this.voltage = voltage;
            return this;
        }
 
        public MachineBuilder dimensions(final BigDecimal dimensions) {
            this.dimensions = dimensions;
            return this;
        }
 
        public MachineBuilder netWeight(final BigDecimal netWeight) {
            this.netWeight = netWeight;
            return this;
        }
 
        public MachineBuilder power(final BigDecimal power) {
            this.power = power;
            return this;
        }
 
        public MachineBuilder systemName(final String systemName) {
            this.systemName = systemName;
            return this;
        }
 
        public MachineBuilder nameplate(final String nameplate) {
            this.nameplate = nameplate;
            return this;
        }
 
        public MachineBuilder softwareVersion(final String softwareVersion) {
            this.softwareVersion = softwareVersion;
            return this;
        }
 
        public MachineBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public MachineBuilder invoiceValue(final BigDecimal invoiceValue) {
            this.invoiceValue = invoiceValue;
            return this;
        }
 
        public MachineBuilder ovfa(final BigDecimal ovfa) {
            this.ovfa = ovfa;
            return this;
        }
 
        public MachineBuilder depreciationYear(final Integer depreciationYear) {
            this.depreciationYear = depreciationYear;
            return this;
        }
 
        public MachineBuilder netAssetValue(final BigDecimal netAssetValue) {
            this.netAssetValue = netAssetValue;
            return this;
        }
 
        public MachineBuilder assetsCode(final String assetsCode) {
            this.assetsCode = assetsCode;
            return this;
        }
 
        public MachineBuilder productionTime(final Date productionTime) {
            this.productionTime = productionTime;
            return this;
        }
 
        public MachineBuilder deliveryTime(final Date deliveryTime) {
            this.deliveryTime = deliveryTime;
            return this;
        }
 
        public MachineBuilder manufacturer(final String manufacturer) {
            this.manufacturer = manufacturer;
            return this;
        }
 
        public MachineBuilder factoryFile(final String factoryFile) {
            this.factoryFile = factoryFile;
            return this;
        }
 
        public MachineBuilder factoryNo(final String factoryNo) {
            this.factoryNo = factoryNo;
            return this;
        }
 
        public MachineBuilder installationLocation(final String installationLocation) {
            this.installationLocation = installationLocation;
            return this;
        }
 
        public MachineBuilder turnToFixedAssetsTime(final Date turnToFixedAssetsTime) {
            this.turnToFixedAssetsTime = turnToFixedAssetsTime;
            return this;
        }
 
        public MachineBuilder managementClass(final Integer managementClass) {
            this.managementClass = managementClass;
            return this;
        }
 
        public MachineBuilder organizationId(final Long organizationId) {
            this.organizationId = organizationId;
            return this;
        }
 
        public MachineBuilder productionLine(final String productionLine) {
            this.productionLine = productionLine;
            return this;
        }
 
        public MachineBuilder elaborateEquipment(final Integer elaborateEquipment) {
            this.elaborateEquipment = elaborateEquipment;
            return this;
        }
 
        public MachineBuilder machineUseStatus(final Integer machineUseStatus) {
            this.machineUseStatus = machineUseStatus;
            return this;
        }
 
        public MachineBuilder employeeId(final Long employeeId) {
            this.employeeId = employeeId;
            return this;
        }
 
        public MachineBuilder remark(final String remark) {
            this.remark = remark;
            return this;
        }
 
        public MachineBuilder maintenanceStatus(final Integer maintenanceStatus) {
            this.maintenanceStatus = maintenanceStatus;
            return this;
        }
 
        public MachineBuilder repairStatus(final Integer repairStatus) {
            this.repairStatus = repairStatus;
            return this;
        }
 
        public MachineBuilder lastRepairTime(final LocalDateTime lastRepairTime) {
            this.lastRepairTime = lastRepairTime;
            return this;
        }
 
        public MachineBuilder lastMaintainTime(final LocalDateTime lastMaintainTime) {
            this.lastMaintainTime = lastMaintainTime;
            return this;
        }
 
        public MachineBuilder nextMaintainTime(final LocalDateTime nextMaintainTime) {
            this.nextMaintainTime = nextMaintainTime;
            return this;
        }
 
        public MachineBuilder lastCheckTime(final LocalDateTime lastCheckTime) {
            this.lastCheckTime = lastCheckTime;
            return this;
        }
 
        public MachineBuilder linkWay(final String linkWay) {
            this.linkWay = linkWay;
            return this;
        }
 
        public MachineBuilder externalKey(final String externalKey) {
            this.externalKey = externalKey;
            return this;
        }
 
        public Machine build() {
            return new Machine(this.extendId, this.machineCode, this.machineName, this.collectSwitch, this.collectDriver, this.typeName, this.machineType, this.machineModel, this.brand, this.avatar, this.shortCode, this.pinCode, this.machineTypeId, this.serialNo, this.countryOfManufacture, this.machineLifeStatus, this.voltage, this.dimensions, this.netWeight, this.power, this.systemName, this.nameplate, this.softwareVersion, this.groupId, this.invoiceValue, this.ovfa, this.depreciationYear, this.netAssetValue, this.assetsCode, this.productionTime, this.deliveryTime, this.manufacturer, this.factoryFile, this.factoryNo, this.installationLocation, this.turnToFixedAssetsTime, this.managementClass, this.organizationId, this.productionLine, this.elaborateEquipment, this.machineUseStatus, this.employeeId, this.remark, this.maintenanceStatus, this.repairStatus, this.lastRepairTime, this.lastMaintainTime, this.nextMaintainTime, this.lastCheckTime, this.linkWay, this.externalKey);
        }
 
        public String toString() {
            return "Machine.MachineBuilder(extendId=" + this.extendId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", collectSwitch=" + this.collectSwitch + ", collectDriver=" + this.collectDriver + ", typeName=" + this.typeName + ", machineType=" + this.machineType + ", machineModel=" + this.machineModel + ", brand=" + this.brand + ", avatar=" + this.avatar + ", shortCode=" + this.shortCode + ", pinCode=" + this.pinCode + ", machineTypeId=" + this.machineTypeId + ", serialNo=" + this.serialNo + ", countryOfManufacture=" + this.countryOfManufacture + ", machineLifeStatus=" + this.machineLifeStatus + ", voltage=" + this.voltage + ", dimensions=" + this.dimensions + ", netWeight=" + this.netWeight + ", power=" + this.power + ", systemName=" + this.systemName + ", nameplate=" + this.nameplate + ", softwareVersion=" + this.softwareVersion + ", groupId=" + this.groupId + ", invoiceValue=" + this.invoiceValue + ", ovfa=" + this.ovfa + ", depreciationYear=" + this.depreciationYear + ", netAssetValue=" + this.netAssetValue + ", assetsCode=" + this.assetsCode + ", productionTime=" + this.productionTime + ", deliveryTime=" + this.deliveryTime + ", manufacturer=" + this.manufacturer + ", factoryFile=" + this.factoryFile + ", factoryNo=" + this.factoryNo + ", installationLocation=" + this.installationLocation + ", turnToFixedAssetsTime=" + this.turnToFixedAssetsTime + ", managementClass=" + this.managementClass + ", organizationId=" + this.organizationId + ", productionLine=" + this.productionLine + ", elaborateEquipment=" + this.elaborateEquipment + ", machineUseStatus=" + this.machineUseStatus + ", employeeId=" + this.employeeId + ", remark=" + this.remark + ", maintenanceStatus=" + this.maintenanceStatus + ", repairStatus=" + this.repairStatus + ", lastRepairTime=" + this.lastRepairTime + ", lastMaintainTime=" + this.lastMaintainTime + ", nextMaintainTime=" + this.nextMaintainTime + ", lastCheckTime=" + this.lastCheckTime + ", linkWay=" + this.linkWay + ", externalKey=" + this.externalKey + ")";
        }
    }
 
    public void setExtendId(final String extendId) {
        this.extendId = extendId;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setCollectSwitch(final Integer collectSwitch) {
        this.collectSwitch = collectSwitch;
    }
 
    public void setCollectDriver(final String collectDriver) {
        this.collectDriver = collectDriver;
    }
 
    public void setTypeName(final String typeName) {
        this.typeName = typeName;
    }
 
    public void setMachineType(final String machineType) {
        this.machineType = machineType;
    }
 
    public void setMachineModel(final String machineModel) {
        this.machineModel = machineModel;
    }
 
    public void setBrand(final String brand) {
        this.brand = brand;
    }
 
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
 
    public void setShortCode(final String shortCode) {
        this.shortCode = shortCode;
    }
 
    public void setPinCode(final String pinCode) {
        this.pinCode = pinCode;
    }
 
    public void setMachineTypeId(final Long machineTypeId) {
        this.machineTypeId = machineTypeId;
    }
 
    public void setSerialNo(final String serialNo) {
        this.serialNo = serialNo;
    }
 
    public void setCountryOfManufacture(final String countryOfManufacture) {
        this.countryOfManufacture = countryOfManufacture;
    }
 
    public void setMachineLifeStatus(final Integer machineLifeStatus) {
        this.machineLifeStatus = machineLifeStatus;
    }
 
    public void setVoltage(final BigDecimal voltage) {
        this.voltage = voltage;
    }
 
    public void setDimensions(final BigDecimal dimensions) {
        this.dimensions = dimensions;
    }
 
    public void setNetWeight(final BigDecimal netWeight) {
        this.netWeight = netWeight;
    }
 
    public void setPower(final BigDecimal power) {
        this.power = power;
    }
 
    public void setSystemName(final String systemName) {
        this.systemName = systemName;
    }
 
    public void setNameplate(final String nameplate) {
        this.nameplate = nameplate;
    }
 
    public void setSoftwareVersion(final String softwareVersion) {
        this.softwareVersion = softwareVersion;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setInvoiceValue(final BigDecimal invoiceValue) {
        this.invoiceValue = invoiceValue;
    }
 
    public void setOvfa(final BigDecimal ovfa) {
        this.ovfa = ovfa;
    }
 
    public void setDepreciationYear(final Integer depreciationYear) {
        this.depreciationYear = depreciationYear;
    }
 
    public void setNetAssetValue(final BigDecimal netAssetValue) {
        this.netAssetValue = netAssetValue;
    }
 
    public void setAssetsCode(final String assetsCode) {
        this.assetsCode = assetsCode;
    }
 
    public void setProductionTime(final Date productionTime) {
        this.productionTime = productionTime;
    }
 
    public void setDeliveryTime(final Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }
 
    public void setManufacturer(final String manufacturer) {
        this.manufacturer = manufacturer;
    }
 
    public void setFactoryFile(final String factoryFile) {
        this.factoryFile = factoryFile;
    }
 
    public void setFactoryNo(final String factoryNo) {
        this.factoryNo = factoryNo;
    }
 
    public void setInstallationLocation(final String installationLocation) {
        this.installationLocation = installationLocation;
    }
 
    public void setTurnToFixedAssetsTime(final Date turnToFixedAssetsTime) {
        this.turnToFixedAssetsTime = turnToFixedAssetsTime;
    }
 
    public void setManagementClass(final Integer managementClass) {
        this.managementClass = managementClass;
    }
 
    public void setOrganizationId(final Long organizationId) {
        this.organizationId = organizationId;
    }
 
    public void setProductionLine(final String productionLine) {
        this.productionLine = productionLine;
    }
 
    public void setElaborateEquipment(final Integer elaborateEquipment) {
        this.elaborateEquipment = elaborateEquipment;
    }
 
    public void setMachineUseStatus(final Integer machineUseStatus) {
        this.machineUseStatus = machineUseStatus;
    }
 
    public void setEmployeeId(final Long employeeId) {
        this.employeeId = employeeId;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setMaintenanceStatus(final Integer maintenanceStatus) {
        this.maintenanceStatus = maintenanceStatus;
    }
 
    public void setRepairStatus(final Integer repairStatus) {
        this.repairStatus = repairStatus;
    }
 
    public void setLastRepairTime(final LocalDateTime lastRepairTime) {
        this.lastRepairTime = lastRepairTime;
    }
 
    public void setLastMaintainTime(final LocalDateTime lastMaintainTime) {
        this.lastMaintainTime = lastMaintainTime;
    }
 
    public void setNextMaintainTime(final LocalDateTime nextMaintainTime) {
        this.nextMaintainTime = nextMaintainTime;
    }
 
    public void setLastCheckTime(final LocalDateTime lastCheckTime) {
        this.lastCheckTime = lastCheckTime;
    }
 
    public void setLinkWay(final String linkWay) {
        this.linkWay = linkWay;
    }
 
    public void setExternalKey(final String externalKey) {
        this.externalKey = externalKey;
    }
 
    public String toString() {
        return "Machine(extendId=" + getExtendId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", collectSwitch=" + getCollectSwitch() + ", collectDriver=" + getCollectDriver() + ", typeName=" + getTypeName() + ", machineType=" + getMachineType() + ", machineModel=" + getMachineModel() + ", brand=" + getBrand() + ", avatar=" + getAvatar() + ", shortCode=" + getShortCode() + ", pinCode=" + getPinCode() + ", machineTypeId=" + getMachineTypeId() + ", serialNo=" + getSerialNo() + ", countryOfManufacture=" + getCountryOfManufacture() + ", machineLifeStatus=" + getMachineLifeStatus() + ", voltage=" + getVoltage() + ", dimensions=" + getDimensions() + ", netWeight=" + getNetWeight() + ", power=" + getPower() + ", systemName=" + getSystemName() + ", nameplate=" + getNameplate() + ", softwareVersion=" + getSoftwareVersion() + ", groupId=" + getGroupId() + ", invoiceValue=" + getInvoiceValue() + ", ovfa=" + getOvfa() + ", depreciationYear=" + getDepreciationYear() + ", netAssetValue=" + getNetAssetValue() + ", assetsCode=" + getAssetsCode() + ", productionTime=" + getProductionTime() + ", deliveryTime=" + getDeliveryTime() + ", manufacturer=" + getManufacturer() + ", factoryFile=" + getFactoryFile() + ", factoryNo=" + getFactoryNo() + ", installationLocation=" + getInstallationLocation() + ", turnToFixedAssetsTime=" + getTurnToFixedAssetsTime() + ", managementClass=" + getManagementClass() + ", organizationId=" + getOrganizationId() + ", productionLine=" + getProductionLine() + ", elaborateEquipment=" + getElaborateEquipment() + ", machineUseStatus=" + getMachineUseStatus() + ", employeeId=" + getEmployeeId() + ", remark=" + getRemark() + ", maintenanceStatus=" + getMaintenanceStatus() + ", repairStatus=" + getRepairStatus() + ", lastRepairTime=" + getLastRepairTime() + ", lastMaintainTime=" + getLastMaintainTime() + ", nextMaintainTime=" + getNextMaintainTime() + ", lastCheckTime=" + getLastCheckTime() + ", linkWay=" + getLinkWay() + ", externalKey=" + getExternalKey() + ")";
    }
 
    public static MachineBuilder builder() {
        return new MachineBuilder();
    }
 
    public Machine(final String extendId, final String machineCode, final String machineName, final Integer collectSwitch, final String collectDriver, final String typeName, final String machineType, final String machineModel, final String brand, final String avatar, final String shortCode, final String pinCode, final Long machineTypeId, final String serialNo, final String countryOfManufacture, final Integer machineLifeStatus, final BigDecimal voltage, final BigDecimal dimensions, final BigDecimal netWeight, final BigDecimal power, final String systemName, final String nameplate, final String softwareVersion, final Long groupId, final BigDecimal invoiceValue, final BigDecimal ovfa, final Integer depreciationYear, final BigDecimal netAssetValue, final String assetsCode, final Date productionTime, final Date deliveryTime, final String manufacturer, final String factoryFile, final String factoryNo, final String installationLocation, final Date turnToFixedAssetsTime, final Integer managementClass, final Long organizationId, final String productionLine, final Integer elaborateEquipment, final Integer machineUseStatus, final Long employeeId, final String remark, final Integer maintenanceStatus, final Integer repairStatus, final LocalDateTime lastRepairTime, final LocalDateTime lastMaintainTime, final LocalDateTime nextMaintainTime, final LocalDateTime lastCheckTime, final String linkWay, final String externalKey) {
        this.extendId = extendId;
        this.machineCode = machineCode;
        this.machineName = machineName;
        this.collectSwitch = collectSwitch;
        this.collectDriver = collectDriver;
        this.typeName = typeName;
        this.machineType = machineType;
        this.machineModel = machineModel;
        this.brand = brand;
        this.avatar = avatar;
        this.shortCode = shortCode;
        this.pinCode = pinCode;
        this.machineTypeId = machineTypeId;
        this.serialNo = serialNo;
        this.countryOfManufacture = countryOfManufacture;
        this.machineLifeStatus = machineLifeStatus;
        this.voltage = voltage;
        this.dimensions = dimensions;
        this.netWeight = netWeight;
        this.power = power;
        this.systemName = systemName;
        this.nameplate = nameplate;
        this.softwareVersion = softwareVersion;
        this.groupId = groupId;
        this.invoiceValue = invoiceValue;
        this.ovfa = ovfa;
        this.depreciationYear = depreciationYear;
        this.netAssetValue = netAssetValue;
        this.assetsCode = assetsCode;
        this.productionTime = productionTime;
        this.deliveryTime = deliveryTime;
        this.manufacturer = manufacturer;
        this.factoryFile = factoryFile;
        this.factoryNo = factoryNo;
        this.installationLocation = installationLocation;
        this.turnToFixedAssetsTime = turnToFixedAssetsTime;
        this.managementClass = managementClass;
        this.organizationId = organizationId;
        this.productionLine = productionLine;
        this.elaborateEquipment = elaborateEquipment;
        this.machineUseStatus = machineUseStatus;
        this.employeeId = employeeId;
        this.remark = remark;
        this.maintenanceStatus = maintenanceStatus;
        this.repairStatus = repairStatus;
        this.lastRepairTime = lastRepairTime;
        this.lastMaintainTime = lastMaintainTime;
        this.nextMaintainTime = nextMaintainTime;
        this.lastCheckTime = lastCheckTime;
        this.linkWay = linkWay;
        this.externalKey = externalKey;
    }
 
    public Machine() {
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Machine) {
            Machine other = (Machine) o;
            if (other.canEqual(this) && super.equals(o)) {
                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$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$machineLifeStatus = getMachineLifeStatus();
                Object other$machineLifeStatus = other.getMachineLifeStatus();
                if (this$machineLifeStatus == null) {
                    if (other$machineLifeStatus != null) {
                        return false;
                    }
                } else if (!this$machineLifeStatus.equals(other$machineLifeStatus)) {
                    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$depreciationYear = getDepreciationYear();
                Object other$depreciationYear = other.getDepreciationYear();
                if (this$depreciationYear == null) {
                    if (other$depreciationYear != null) {
                        return false;
                    }
                } else if (!this$depreciationYear.equals(other$depreciationYear)) {
                    return false;
                }
                Object this$managementClass = getManagementClass();
                Object other$managementClass = other.getManagementClass();
                if (this$managementClass == null) {
                    if (other$managementClass != null) {
                        return false;
                    }
                } else if (!this$managementClass.equals(other$managementClass)) {
                    return false;
                }
                Object this$organizationId = getOrganizationId();
                Object other$organizationId = other.getOrganizationId();
                if (this$organizationId == null) {
                    if (other$organizationId != null) {
                        return false;
                    }
                } else if (!this$organizationId.equals(other$organizationId)) {
                    return false;
                }
                Object this$elaborateEquipment = getElaborateEquipment();
                Object other$elaborateEquipment = other.getElaborateEquipment();
                if (this$elaborateEquipment == null) {
                    if (other$elaborateEquipment != null) {
                        return false;
                    }
                } else if (!this$elaborateEquipment.equals(other$elaborateEquipment)) {
                    return false;
                }
                Object this$machineUseStatus = getMachineUseStatus();
                Object other$machineUseStatus = other.getMachineUseStatus();
                if (this$machineUseStatus == null) {
                    if (other$machineUseStatus != null) {
                        return false;
                    }
                } else if (!this$machineUseStatus.equals(other$machineUseStatus)) {
                    return false;
                }
                Object this$employeeId = getEmployeeId();
                Object other$employeeId = other.getEmployeeId();
                if (this$employeeId == null) {
                    if (other$employeeId != null) {
                        return false;
                    }
                } else if (!this$employeeId.equals(other$employeeId)) {
                    return false;
                }
                Object this$maintenanceStatus = getMaintenanceStatus();
                Object other$maintenanceStatus = other.getMaintenanceStatus();
                if (this$maintenanceStatus == null) {
                    if (other$maintenanceStatus != null) {
                        return false;
                    }
                } else if (!this$maintenanceStatus.equals(other$maintenanceStatus)) {
                    return false;
                }
                Object this$repairStatus = getRepairStatus();
                Object other$repairStatus = other.getRepairStatus();
                if (this$repairStatus == null) {
                    if (other$repairStatus != null) {
                        return false;
                    }
                } else if (!this$repairStatus.equals(other$repairStatus)) {
                    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$collectDriver = getCollectDriver();
                Object other$collectDriver = other.getCollectDriver();
                if (this$collectDriver == null) {
                    if (other$collectDriver != null) {
                        return false;
                    }
                } else if (!this$collectDriver.equals(other$collectDriver)) {
                    return false;
                }
                Object this$typeName = getTypeName();
                Object other$typeName = other.getTypeName();
                if (this$typeName == null) {
                    if (other$typeName != null) {
                        return false;
                    }
                } else if (!this$typeName.equals(other$typeName)) {
                    return false;
                }
                Object this$machineType = getMachineType();
                Object other$machineType = other.getMachineType();
                if (this$machineType == null) {
                    if (other$machineType != null) {
                        return false;
                    }
                } else if (!this$machineType.equals(other$machineType)) {
                    return false;
                }
                Object this$machineModel = getMachineModel();
                Object other$machineModel = other.getMachineModel();
                if (this$machineModel == null) {
                    if (other$machineModel != null) {
                        return false;
                    }
                } else if (!this$machineModel.equals(other$machineModel)) {
                    return false;
                }
                Object this$brand = getBrand();
                Object other$brand = other.getBrand();
                if (this$brand == null) {
                    if (other$brand != null) {
                        return false;
                    }
                } else if (!this$brand.equals(other$brand)) {
                    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$shortCode = getShortCode();
                Object other$shortCode = other.getShortCode();
                if (this$shortCode == null) {
                    if (other$shortCode != null) {
                        return false;
                    }
                } else if (!this$shortCode.equals(other$shortCode)) {
                    return false;
                }
                Object this$pinCode = getPinCode();
                Object other$pinCode = other.getPinCode();
                if (this$pinCode == null) {
                    if (other$pinCode != null) {
                        return false;
                    }
                } else if (!this$pinCode.equals(other$pinCode)) {
                    return false;
                }
                Object this$serialNo = getSerialNo();
                Object other$serialNo = other.getSerialNo();
                if (this$serialNo == null) {
                    if (other$serialNo != null) {
                        return false;
                    }
                } else if (!this$serialNo.equals(other$serialNo)) {
                    return false;
                }
                Object this$countryOfManufacture = getCountryOfManufacture();
                Object other$countryOfManufacture = other.getCountryOfManufacture();
                if (this$countryOfManufacture == null) {
                    if (other$countryOfManufacture != null) {
                        return false;
                    }
                } else if (!this$countryOfManufacture.equals(other$countryOfManufacture)) {
                    return false;
                }
                Object this$voltage = getVoltage();
                Object other$voltage = other.getVoltage();
                if (this$voltage == null) {
                    if (other$voltage != null) {
                        return false;
                    }
                } else if (!this$voltage.equals(other$voltage)) {
                    return false;
                }
                Object this$dimensions = getDimensions();
                Object other$dimensions = other.getDimensions();
                if (this$dimensions == null) {
                    if (other$dimensions != null) {
                        return false;
                    }
                } else if (!this$dimensions.equals(other$dimensions)) {
                    return false;
                }
                Object this$netWeight = getNetWeight();
                Object other$netWeight = other.getNetWeight();
                if (this$netWeight == null) {
                    if (other$netWeight != null) {
                        return false;
                    }
                } else if (!this$netWeight.equals(other$netWeight)) {
                    return false;
                }
                Object this$power = getPower();
                Object other$power = other.getPower();
                if (this$power == null) {
                    if (other$power != null) {
                        return false;
                    }
                } else if (!this$power.equals(other$power)) {
                    return false;
                }
                Object this$systemName = getSystemName();
                Object other$systemName = other.getSystemName();
                if (this$systemName == null) {
                    if (other$systemName != null) {
                        return false;
                    }
                } else if (!this$systemName.equals(other$systemName)) {
                    return false;
                }
                Object this$nameplate = getNameplate();
                Object other$nameplate = other.getNameplate();
                if (this$nameplate == null) {
                    if (other$nameplate != null) {
                        return false;
                    }
                } else if (!this$nameplate.equals(other$nameplate)) {
                    return false;
                }
                Object this$softwareVersion = getSoftwareVersion();
                Object other$softwareVersion = other.getSoftwareVersion();
                if (this$softwareVersion == null) {
                    if (other$softwareVersion != null) {
                        return false;
                    }
                } else if (!this$softwareVersion.equals(other$softwareVersion)) {
                    return false;
                }
                Object this$invoiceValue = getInvoiceValue();
                Object other$invoiceValue = other.getInvoiceValue();
                if (this$invoiceValue == null) {
                    if (other$invoiceValue != null) {
                        return false;
                    }
                } else if (!this$invoiceValue.equals(other$invoiceValue)) {
                    return false;
                }
                Object this$ovfa = getOvfa();
                Object other$ovfa = other.getOvfa();
                if (this$ovfa == null) {
                    if (other$ovfa != null) {
                        return false;
                    }
                } else if (!this$ovfa.equals(other$ovfa)) {
                    return false;
                }
                Object this$netAssetValue = getNetAssetValue();
                Object other$netAssetValue = other.getNetAssetValue();
                if (this$netAssetValue == null) {
                    if (other$netAssetValue != null) {
                        return false;
                    }
                } else if (!this$netAssetValue.equals(other$netAssetValue)) {
                    return false;
                }
                Object this$assetsCode = getAssetsCode();
                Object other$assetsCode = other.getAssetsCode();
                if (this$assetsCode == null) {
                    if (other$assetsCode != null) {
                        return false;
                    }
                } else if (!this$assetsCode.equals(other$assetsCode)) {
                    return false;
                }
                Object this$productionTime = getProductionTime();
                Object other$productionTime = other.getProductionTime();
                if (this$productionTime == null) {
                    if (other$productionTime != null) {
                        return false;
                    }
                } else if (!this$productionTime.equals(other$productionTime)) {
                    return false;
                }
                Object this$deliveryTime = getDeliveryTime();
                Object other$deliveryTime = other.getDeliveryTime();
                if (this$deliveryTime == null) {
                    if (other$deliveryTime != null) {
                        return false;
                    }
                } else if (!this$deliveryTime.equals(other$deliveryTime)) {
                    return false;
                }
                Object this$manufacturer = getManufacturer();
                Object other$manufacturer = other.getManufacturer();
                if (this$manufacturer == null) {
                    if (other$manufacturer != null) {
                        return false;
                    }
                } else if (!this$manufacturer.equals(other$manufacturer)) {
                    return false;
                }
                Object this$factoryFile = getFactoryFile();
                Object other$factoryFile = other.getFactoryFile();
                if (this$factoryFile == null) {
                    if (other$factoryFile != null) {
                        return false;
                    }
                } else if (!this$factoryFile.equals(other$factoryFile)) {
                    return false;
                }
                Object this$factoryNo = getFactoryNo();
                Object other$factoryNo = other.getFactoryNo();
                if (this$factoryNo == null) {
                    if (other$factoryNo != null) {
                        return false;
                    }
                } else if (!this$factoryNo.equals(other$factoryNo)) {
                    return false;
                }
                Object this$installationLocation = getInstallationLocation();
                Object other$installationLocation = other.getInstallationLocation();
                if (this$installationLocation == null) {
                    if (other$installationLocation != null) {
                        return false;
                    }
                } else if (!this$installationLocation.equals(other$installationLocation)) {
                    return false;
                }
                Object this$turnToFixedAssetsTime = getTurnToFixedAssetsTime();
                Object other$turnToFixedAssetsTime = other.getTurnToFixedAssetsTime();
                if (this$turnToFixedAssetsTime == null) {
                    if (other$turnToFixedAssetsTime != null) {
                        return false;
                    }
                } else if (!this$turnToFixedAssetsTime.equals(other$turnToFixedAssetsTime)) {
                    return false;
                }
                Object this$productionLine = getProductionLine();
                Object other$productionLine = other.getProductionLine();
                if (this$productionLine == null) {
                    if (other$productionLine != null) {
                        return false;
                    }
                } else if (!this$productionLine.equals(other$productionLine)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                if (this$remark == null) {
                    if (other$remark != null) {
                        return false;
                    }
                } else if (!this$remark.equals(other$remark)) {
                    return false;
                }
                Object this$lastRepairTime = getLastRepairTime();
                Object other$lastRepairTime = other.getLastRepairTime();
                if (this$lastRepairTime == null) {
                    if (other$lastRepairTime != null) {
                        return false;
                    }
                } else if (!this$lastRepairTime.equals(other$lastRepairTime)) {
                    return false;
                }
                Object this$lastMaintainTime = getLastMaintainTime();
                Object other$lastMaintainTime = other.getLastMaintainTime();
                if (this$lastMaintainTime == null) {
                    if (other$lastMaintainTime != null) {
                        return false;
                    }
                } else if (!this$lastMaintainTime.equals(other$lastMaintainTime)) {
                    return false;
                }
                Object this$nextMaintainTime = getNextMaintainTime();
                Object other$nextMaintainTime = other.getNextMaintainTime();
                if (this$nextMaintainTime == null) {
                    if (other$nextMaintainTime != null) {
                        return false;
                    }
                } else if (!this$nextMaintainTime.equals(other$nextMaintainTime)) {
                    return false;
                }
                Object this$lastCheckTime = getLastCheckTime();
                Object other$lastCheckTime = other.getLastCheckTime();
                if (this$lastCheckTime == null) {
                    if (other$lastCheckTime != null) {
                        return false;
                    }
                } else if (!this$lastCheckTime.equals(other$lastCheckTime)) {
                    return false;
                }
                Object this$linkWay = getLinkWay();
                Object other$linkWay = other.getLinkWay();
                if (this$linkWay == null) {
                    if (other$linkWay != null) {
                        return false;
                    }
                } else if (!this$linkWay.equals(other$linkWay)) {
                    return false;
                }
                Object this$externalKey = getExternalKey();
                Object other$externalKey = other.getExternalKey();
                return this$externalKey == null ? other$externalKey == null : this$externalKey.equals(other$externalKey);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Machine;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $collectSwitch = getCollectSwitch();
        int result2 = (result * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
        Object $machineTypeId = getMachineTypeId();
        int result3 = (result2 * 59) + ($machineTypeId == null ? 43 : $machineTypeId.hashCode());
        Object $machineLifeStatus = getMachineLifeStatus();
        int result4 = (result3 * 59) + ($machineLifeStatus == null ? 43 : $machineLifeStatus.hashCode());
        Object $groupId = getGroupId();
        int result5 = (result4 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $depreciationYear = getDepreciationYear();
        int result6 = (result5 * 59) + ($depreciationYear == null ? 43 : $depreciationYear.hashCode());
        Object $managementClass = getManagementClass();
        int result7 = (result6 * 59) + ($managementClass == null ? 43 : $managementClass.hashCode());
        Object $organizationId = getOrganizationId();
        int result8 = (result7 * 59) + ($organizationId == null ? 43 : $organizationId.hashCode());
        Object $elaborateEquipment = getElaborateEquipment();
        int result9 = (result8 * 59) + ($elaborateEquipment == null ? 43 : $elaborateEquipment.hashCode());
        Object $machineUseStatus = getMachineUseStatus();
        int result10 = (result9 * 59) + ($machineUseStatus == null ? 43 : $machineUseStatus.hashCode());
        Object $employeeId = getEmployeeId();
        int result11 = (result10 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
        Object $maintenanceStatus = getMaintenanceStatus();
        int result12 = (result11 * 59) + ($maintenanceStatus == null ? 43 : $maintenanceStatus.hashCode());
        Object $repairStatus = getRepairStatus();
        int result13 = (result12 * 59) + ($repairStatus == null ? 43 : $repairStatus.hashCode());
        Object $extendId = getExtendId();
        int result14 = (result13 * 59) + ($extendId == null ? 43 : $extendId.hashCode());
        Object $machineCode = getMachineCode();
        int result15 = (result14 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result16 = (result15 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $collectDriver = getCollectDriver();
        int result17 = (result16 * 59) + ($collectDriver == null ? 43 : $collectDriver.hashCode());
        Object $typeName = getTypeName();
        int result18 = (result17 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
        Object $machineType = getMachineType();
        int result19 = (result18 * 59) + ($machineType == null ? 43 : $machineType.hashCode());
        Object $machineModel = getMachineModel();
        int result20 = (result19 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
        Object $brand = getBrand();
        int result21 = (result20 * 59) + ($brand == null ? 43 : $brand.hashCode());
        Object $avatar = getAvatar();
        int result22 = (result21 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
        Object $shortCode = getShortCode();
        int result23 = (result22 * 59) + ($shortCode == null ? 43 : $shortCode.hashCode());
        Object $pinCode = getPinCode();
        int result24 = (result23 * 59) + ($pinCode == null ? 43 : $pinCode.hashCode());
        Object $serialNo = getSerialNo();
        int result25 = (result24 * 59) + ($serialNo == null ? 43 : $serialNo.hashCode());
        Object $countryOfManufacture = getCountryOfManufacture();
        int result26 = (result25 * 59) + ($countryOfManufacture == null ? 43 : $countryOfManufacture.hashCode());
        Object $voltage = getVoltage();
        int result27 = (result26 * 59) + ($voltage == null ? 43 : $voltage.hashCode());
        Object $dimensions = getDimensions();
        int result28 = (result27 * 59) + ($dimensions == null ? 43 : $dimensions.hashCode());
        Object $netWeight = getNetWeight();
        int result29 = (result28 * 59) + ($netWeight == null ? 43 : $netWeight.hashCode());
        Object $power = getPower();
        int result30 = (result29 * 59) + ($power == null ? 43 : $power.hashCode());
        Object $systemName = getSystemName();
        int result31 = (result30 * 59) + ($systemName == null ? 43 : $systemName.hashCode());
        Object $nameplate = getNameplate();
        int result32 = (result31 * 59) + ($nameplate == null ? 43 : $nameplate.hashCode());
        Object $softwareVersion = getSoftwareVersion();
        int result33 = (result32 * 59) + ($softwareVersion == null ? 43 : $softwareVersion.hashCode());
        Object $invoiceValue = getInvoiceValue();
        int result34 = (result33 * 59) + ($invoiceValue == null ? 43 : $invoiceValue.hashCode());
        Object $ovfa = getOvfa();
        int result35 = (result34 * 59) + ($ovfa == null ? 43 : $ovfa.hashCode());
        Object $netAssetValue = getNetAssetValue();
        int result36 = (result35 * 59) + ($netAssetValue == null ? 43 : $netAssetValue.hashCode());
        Object $assetsCode = getAssetsCode();
        int result37 = (result36 * 59) + ($assetsCode == null ? 43 : $assetsCode.hashCode());
        Object $productionTime = getProductionTime();
        int result38 = (result37 * 59) + ($productionTime == null ? 43 : $productionTime.hashCode());
        Object $deliveryTime = getDeliveryTime();
        int result39 = (result38 * 59) + ($deliveryTime == null ? 43 : $deliveryTime.hashCode());
        Object $manufacturer = getManufacturer();
        int result40 = (result39 * 59) + ($manufacturer == null ? 43 : $manufacturer.hashCode());
        Object $factoryFile = getFactoryFile();
        int result41 = (result40 * 59) + ($factoryFile == null ? 43 : $factoryFile.hashCode());
        Object $factoryNo = getFactoryNo();
        int result42 = (result41 * 59) + ($factoryNo == null ? 43 : $factoryNo.hashCode());
        Object $installationLocation = getInstallationLocation();
        int result43 = (result42 * 59) + ($installationLocation == null ? 43 : $installationLocation.hashCode());
        Object $turnToFixedAssetsTime = getTurnToFixedAssetsTime();
        int result44 = (result43 * 59) + ($turnToFixedAssetsTime == null ? 43 : $turnToFixedAssetsTime.hashCode());
        Object $productionLine = getProductionLine();
        int result45 = (result44 * 59) + ($productionLine == null ? 43 : $productionLine.hashCode());
        Object $remark = getRemark();
        int result46 = (result45 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $lastRepairTime = getLastRepairTime();
        int result47 = (result46 * 59) + ($lastRepairTime == null ? 43 : $lastRepairTime.hashCode());
        Object $lastMaintainTime = getLastMaintainTime();
        int result48 = (result47 * 59) + ($lastMaintainTime == null ? 43 : $lastMaintainTime.hashCode());
        Object $nextMaintainTime = getNextMaintainTime();
        int result49 = (result48 * 59) + ($nextMaintainTime == null ? 43 : $nextMaintainTime.hashCode());
        Object $lastCheckTime = getLastCheckTime();
        int result50 = (result49 * 59) + ($lastCheckTime == null ? 43 : $lastCheckTime.hashCode());
        Object $linkWay = getLinkWay();
        int result51 = (result50 * 59) + ($linkWay == null ? 43 : $linkWay.hashCode());
        Object $externalKey = getExternalKey();
        return (result51 * 59) + ($externalKey == null ? 43 : $externalKey.hashCode());
    }
 
    public String getExtendId() {
        return this.extendId;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public Integer getCollectSwitch() {
        return this.collectSwitch;
    }
 
    public String getCollectDriver() {
        return this.collectDriver;
    }
 
    public String getTypeName() {
        return this.typeName;
    }
 
    public String getMachineType() {
        return this.machineType;
    }
 
    public String getMachineModel() {
        return this.machineModel;
    }
 
    public String getBrand() {
        return this.brand;
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public String getShortCode() {
        return this.shortCode;
    }
 
    public String getPinCode() {
        return this.pinCode;
    }
 
    public Long getMachineTypeId() {
        return this.machineTypeId;
    }
 
    public String getSerialNo() {
        return this.serialNo;
    }
 
    public String getCountryOfManufacture() {
        return this.countryOfManufacture;
    }
 
    public Integer getMachineLifeStatus() {
        return this.machineLifeStatus;
    }
 
    public BigDecimal getVoltage() {
        return this.voltage;
    }
 
    public BigDecimal getDimensions() {
        return this.dimensions;
    }
 
    public BigDecimal getNetWeight() {
        return this.netWeight;
    }
 
    public BigDecimal getPower() {
        return this.power;
    }
 
    public String getSystemName() {
        return this.systemName;
    }
 
    public String getNameplate() {
        return this.nameplate;
    }
 
    public String getSoftwareVersion() {
        return this.softwareVersion;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public BigDecimal getInvoiceValue() {
        return this.invoiceValue;
    }
 
    public BigDecimal getOvfa() {
        return this.ovfa;
    }
 
    public Integer getDepreciationYear() {
        return this.depreciationYear;
    }
 
    public BigDecimal getNetAssetValue() {
        return this.netAssetValue;
    }
 
    public String getAssetsCode() {
        return this.assetsCode;
    }
 
    public Date getProductionTime() {
        return this.productionTime;
    }
 
    public Date getDeliveryTime() {
        return this.deliveryTime;
    }
 
    public String getManufacturer() {
        return this.manufacturer;
    }
 
    public String getFactoryFile() {
        return this.factoryFile;
    }
 
    public String getFactoryNo() {
        return this.factoryNo;
    }
 
    public String getInstallationLocation() {
        return this.installationLocation;
    }
 
    public Date getTurnToFixedAssetsTime() {
        return this.turnToFixedAssetsTime;
    }
 
    public Integer getManagementClass() {
        return this.managementClass;
    }
 
    public Long getOrganizationId() {
        return this.organizationId;
    }
 
    public String getProductionLine() {
        return this.productionLine;
    }
 
    public Integer getElaborateEquipment() {
        return this.elaborateEquipment;
    }
 
    public Integer getMachineUseStatus() {
        return this.machineUseStatus;
    }
 
    public Long getEmployeeId() {
        return this.employeeId;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Integer getMaintenanceStatus() {
        return this.maintenanceStatus;
    }
 
    public Integer getRepairStatus() {
        return this.repairStatus;
    }
 
    public LocalDateTime getLastRepairTime() {
        return this.lastRepairTime;
    }
 
    public LocalDateTime getLastMaintainTime() {
        return this.lastMaintainTime;
    }
 
    public LocalDateTime getNextMaintainTime() {
        return this.nextMaintainTime;
    }
 
    public LocalDateTime getLastCheckTime() {
        return this.lastCheckTime;
    }
 
    public String getLinkWay() {
        return this.linkWay;
    }
 
    public String getExternalKey() {
        return this.externalKey;
    }
}