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
package com.qianwen.smartman.modules.tpm.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import com.qianwen.smartman.common.constant.DateConstant;
import com.qianwen.core.tool.utils.Func;
import com.qianwen.smartman.modules.tpm.dto.RepairApplyFileAddDTO;
import com.qianwen.smartman.modules.tpm.enums.AffectEnum;
import com.qianwen.smartman.modules.tpm.enums.RepairApplyStatusEnum;
import com.qianwen.smartman.modules.tpm.enums.RepairNatureEnum;
import com.qianwen.smartman.modules.tpm.enums.UrgencyEnum;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/RepairApplyDetailVO.class */
public class RepairApplyDetailVO implements Serializable {
    @ApiModelProperty(value = "id", dataType = "java.lang.String")
    private Long id;
    @ApiModelProperty("申请单号")
    private String applyCode;
    @ApiModelProperty(value = "设备id", dataType = "java.lang.String")
    private Long deviceId;
    @ApiModelProperty("机器编码")
    private String deviceCode;
    @ApiModelProperty("机器名称")
    private String deviceName;
    @ApiModelProperty(value = "机器类型id", dataType = "java.lang.String")
    private Long deviceTypeId;
    @ApiModelProperty("机器类型名称")
    private String deviceTypeName;
    @ApiModelProperty(value = "维修申请人id", dataType = "java.lang.String")
    private Long applyUserId;
    @ApiModelProperty("维修申请人名称")
    private String applyUserName;
    @ApiModelProperty(value = "维修负责人id", dataType = "java.lang.String")
    private Long repairUserId;
    @ApiModelProperty("维修负责人名称")
    private String repairUserName;
    @ApiModelProperty("影响生产:是 1   否   2")
    private Integer isAffect;
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @ApiModelProperty("故障发生时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8")
    private LocalDateTime malfunctionTime;
    @ApiModelProperty("紧急度:  高 3 中 2  低 1")
    private Integer urgency;
    @ApiModelProperty("故障描述")
    private String description;
    @ApiModelProperty("申请单状态: 待执行 1  执行中 2  待确认 3  已确认 4")
    private Integer applyStatus;
    @ApiModelProperty("维修申请关联的文件")
    List<RepairApplyFileAddDTO> fileAddDTOList;
    @ApiModelProperty("影响生产:是 1   否   2")
    private String isAffectStr;
    @ApiModelProperty("紧急度:  高 3 中 2  低 1")
    private String urgencyStr;
    @ApiModelProperty("申请单状态: 待执行 1  执行中 2  待确认 3  已确认 4")
    private String applyStatusStr;
    @ApiModelProperty("故障类型id")
    private Long malfunctionId;
    @ApiModelProperty("故障类型编码")
    private String malfunctionCode;
    @ApiModelProperty("故障类型")
    private String malfunctionName;
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @ApiModelProperty("开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8")
    private LocalDateTime startTime;
    @ApiModelProperty("申请单状态: 待执行 1  执行中 2  待确认 3  已确认 4")
    private String remark;
    @ApiModelProperty("维修性质")
    private Integer repairNature;
    @ApiModelProperty("维修性质")
    private String repairNatureName;
    @ApiModelProperty("维修记录详情")
    private RepairRecordDetailVO repairRecordDetailVO;
 
    public RepairApplyDetailVO setId(final Long id) {
        this.id = id;
        return this;
    }
 
    public RepairApplyDetailVO setApplyCode(final String applyCode) {
        this.applyCode = applyCode;
        return this;
    }
 
    public RepairApplyDetailVO setDeviceId(final Long deviceId) {
        this.deviceId = deviceId;
        return this;
    }
 
    public RepairApplyDetailVO setDeviceCode(final String deviceCode) {
        this.deviceCode = deviceCode;
        return this;
    }
 
    public RepairApplyDetailVO setDeviceName(final String deviceName) {
        this.deviceName = deviceName;
        return this;
    }
 
    public RepairApplyDetailVO setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
        return this;
    }
 
    public RepairApplyDetailVO setDeviceTypeName(final String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
        return this;
    }
 
    public RepairApplyDetailVO setApplyUserId(final Long applyUserId) {
        this.applyUserId = applyUserId;
        return this;
    }
 
    public RepairApplyDetailVO setApplyUserName(final String applyUserName) {
        this.applyUserName = applyUserName;
        return this;
    }
 
    public RepairApplyDetailVO setRepairUserId(final Long repairUserId) {
        this.repairUserId = repairUserId;
        return this;
    }
 
    public RepairApplyDetailVO setRepairUserName(final String repairUserName) {
        this.repairUserName = repairUserName;
        return this;
    }
 
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8")
    public RepairApplyDetailVO setMalfunctionTime(final LocalDateTime malfunctionTime) {
        this.malfunctionTime = malfunctionTime;
        return this;
    }
 
    public RepairApplyDetailVO setDescription(final String description) {
        this.description = description;
        return this;
    }
 
    public RepairApplyDetailVO setFileAddDTOList(final List<RepairApplyFileAddDTO> fileAddDTOList) {
        this.fileAddDTOList = fileAddDTOList;
        return this;
    }
 
    public RepairApplyDetailVO setIsAffectStr(final String isAffectStr) {
        this.isAffectStr = isAffectStr;
        return this;
    }
 
    public RepairApplyDetailVO setUrgencyStr(final String urgencyStr) {
        this.urgencyStr = urgencyStr;
        return this;
    }
 
    public RepairApplyDetailVO setApplyStatusStr(final String applyStatusStr) {
        this.applyStatusStr = applyStatusStr;
        return this;
    }
 
    public RepairApplyDetailVO setMalfunctionId(final Long malfunctionId) {
        this.malfunctionId = malfunctionId;
        return this;
    }
 
    public RepairApplyDetailVO setMalfunctionCode(final String malfunctionCode) {
        this.malfunctionCode = malfunctionCode;
        return this;
    }
 
    public RepairApplyDetailVO setMalfunctionName(final String malfunctionName) {
        this.malfunctionName = malfunctionName;
        return this;
    }
 
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8")
    public RepairApplyDetailVO setStartTime(final LocalDateTime startTime) {
        this.startTime = startTime;
        return this;
    }
 
    public RepairApplyDetailVO setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public RepairApplyDetailVO setRepairNatureName(final String repairNatureName) {
        this.repairNatureName = repairNatureName;
        return this;
    }
 
    public RepairApplyDetailVO setRepairRecordDetailVO(final RepairRecordDetailVO repairRecordDetailVO) {
        this.repairRecordDetailVO = repairRecordDetailVO;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof RepairApplyDetailVO) {
            RepairApplyDetailVO other = (RepairApplyDetailVO) 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$deviceId = getDeviceId();
                Object other$deviceId = other.getDeviceId();
                if (this$deviceId == null) {
                    if (other$deviceId != null) {
                        return false;
                    }
                } else if (!this$deviceId.equals(other$deviceId)) {
                    return false;
                }
                Object this$deviceTypeId = getDeviceTypeId();
                Object other$deviceTypeId = other.getDeviceTypeId();
                if (this$deviceTypeId == null) {
                    if (other$deviceTypeId != null) {
                        return false;
                    }
                } else if (!this$deviceTypeId.equals(other$deviceTypeId)) {
                    return false;
                }
                Object this$applyUserId = getApplyUserId();
                Object other$applyUserId = other.getApplyUserId();
                if (this$applyUserId == null) {
                    if (other$applyUserId != null) {
                        return false;
                    }
                } else if (!this$applyUserId.equals(other$applyUserId)) {
                    return false;
                }
                Object this$repairUserId = getRepairUserId();
                Object other$repairUserId = other.getRepairUserId();
                if (this$repairUserId == null) {
                    if (other$repairUserId != null) {
                        return false;
                    }
                } else if (!this$repairUserId.equals(other$repairUserId)) {
                    return false;
                }
                Object this$isAffect = getIsAffect();
                Object other$isAffect = other.getIsAffect();
                if (this$isAffect == null) {
                    if (other$isAffect != null) {
                        return false;
                    }
                } else if (!this$isAffect.equals(other$isAffect)) {
                    return false;
                }
                Object this$urgency = getUrgency();
                Object other$urgency = other.getUrgency();
                if (this$urgency == null) {
                    if (other$urgency != null) {
                        return false;
                    }
                } else if (!this$urgency.equals(other$urgency)) {
                    return false;
                }
                Object this$applyStatus = getApplyStatus();
                Object other$applyStatus = other.getApplyStatus();
                if (this$applyStatus == null) {
                    if (other$applyStatus != null) {
                        return false;
                    }
                } else if (!this$applyStatus.equals(other$applyStatus)) {
                    return false;
                }
                Object this$malfunctionId = getMalfunctionId();
                Object other$malfunctionId = other.getMalfunctionId();
                if (this$malfunctionId == null) {
                    if (other$malfunctionId != null) {
                        return false;
                    }
                } else if (!this$malfunctionId.equals(other$malfunctionId)) {
                    return false;
                }
                Object this$repairNature = getRepairNature();
                Object other$repairNature = other.getRepairNature();
                if (this$repairNature == null) {
                    if (other$repairNature != null) {
                        return false;
                    }
                } else if (!this$repairNature.equals(other$repairNature)) {
                    return false;
                }
                Object this$applyCode = getApplyCode();
                Object other$applyCode = other.getApplyCode();
                if (this$applyCode == null) {
                    if (other$applyCode != null) {
                        return false;
                    }
                } else if (!this$applyCode.equals(other$applyCode)) {
                    return false;
                }
                Object this$deviceCode = getDeviceCode();
                Object other$deviceCode = other.getDeviceCode();
                if (this$deviceCode == null) {
                    if (other$deviceCode != null) {
                        return false;
                    }
                } else if (!this$deviceCode.equals(other$deviceCode)) {
                    return false;
                }
                Object this$deviceName = getDeviceName();
                Object other$deviceName = other.getDeviceName();
                if (this$deviceName == null) {
                    if (other$deviceName != null) {
                        return false;
                    }
                } else if (!this$deviceName.equals(other$deviceName)) {
                    return false;
                }
                Object this$deviceTypeName = getDeviceTypeName();
                Object other$deviceTypeName = other.getDeviceTypeName();
                if (this$deviceTypeName == null) {
                    if (other$deviceTypeName != null) {
                        return false;
                    }
                } else if (!this$deviceTypeName.equals(other$deviceTypeName)) {
                    return false;
                }
                Object this$applyUserName = getApplyUserName();
                Object other$applyUserName = other.getApplyUserName();
                if (this$applyUserName == null) {
                    if (other$applyUserName != null) {
                        return false;
                    }
                } else if (!this$applyUserName.equals(other$applyUserName)) {
                    return false;
                }
                Object this$repairUserName = getRepairUserName();
                Object other$repairUserName = other.getRepairUserName();
                if (this$repairUserName == null) {
                    if (other$repairUserName != null) {
                        return false;
                    }
                } else if (!this$repairUserName.equals(other$repairUserName)) {
                    return false;
                }
                Object this$malfunctionTime = getMalfunctionTime();
                Object other$malfunctionTime = other.getMalfunctionTime();
                if (this$malfunctionTime == null) {
                    if (other$malfunctionTime != null) {
                        return false;
                    }
                } else if (!this$malfunctionTime.equals(other$malfunctionTime)) {
                    return false;
                }
                Object this$description = getDescription();
                Object other$description = other.getDescription();
                if (this$description == null) {
                    if (other$description != null) {
                        return false;
                    }
                } else if (!this$description.equals(other$description)) {
                    return false;
                }
                Object this$fileAddDTOList = getFileAddDTOList();
                Object other$fileAddDTOList = other.getFileAddDTOList();
                if (this$fileAddDTOList == null) {
                    if (other$fileAddDTOList != null) {
                        return false;
                    }
                } else if (!this$fileAddDTOList.equals(other$fileAddDTOList)) {
                    return false;
                }
                Object this$isAffectStr = getIsAffectStr();
                Object other$isAffectStr = other.getIsAffectStr();
                if (this$isAffectStr == null) {
                    if (other$isAffectStr != null) {
                        return false;
                    }
                } else if (!this$isAffectStr.equals(other$isAffectStr)) {
                    return false;
                }
                Object this$urgencyStr = getUrgencyStr();
                Object other$urgencyStr = other.getUrgencyStr();
                if (this$urgencyStr == null) {
                    if (other$urgencyStr != null) {
                        return false;
                    }
                } else if (!this$urgencyStr.equals(other$urgencyStr)) {
                    return false;
                }
                Object this$applyStatusStr = getApplyStatusStr();
                Object other$applyStatusStr = other.getApplyStatusStr();
                if (this$applyStatusStr == null) {
                    if (other$applyStatusStr != null) {
                        return false;
                    }
                } else if (!this$applyStatusStr.equals(other$applyStatusStr)) {
                    return false;
                }
                Object this$malfunctionCode = getMalfunctionCode();
                Object other$malfunctionCode = other.getMalfunctionCode();
                if (this$malfunctionCode == null) {
                    if (other$malfunctionCode != null) {
                        return false;
                    }
                } else if (!this$malfunctionCode.equals(other$malfunctionCode)) {
                    return false;
                }
                Object this$malfunctionName = getMalfunctionName();
                Object other$malfunctionName = other.getMalfunctionName();
                if (this$malfunctionName == null) {
                    if (other$malfunctionName != null) {
                        return false;
                    }
                } else if (!this$malfunctionName.equals(other$malfunctionName)) {
                    return false;
                }
                Object this$startTime = getStartTime();
                Object other$startTime = other.getStartTime();
                if (this$startTime == null) {
                    if (other$startTime != null) {
                        return false;
                    }
                } else if (!this$startTime.equals(other$startTime)) {
                    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$repairNatureName = getRepairNatureName();
                Object other$repairNatureName = other.getRepairNatureName();
                if (this$repairNatureName == null) {
                    if (other$repairNatureName != null) {
                        return false;
                    }
                } else if (!this$repairNatureName.equals(other$repairNatureName)) {
                    return false;
                }
                Object this$repairRecordDetailVO = getRepairRecordDetailVO();
                Object other$repairRecordDetailVO = other.getRepairRecordDetailVO();
                return this$repairRecordDetailVO == null ? other$repairRecordDetailVO == null : this$repairRecordDetailVO.equals(other$repairRecordDetailVO);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof RepairApplyDetailVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $deviceId = getDeviceId();
        int result2 = (result * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
        Object $deviceTypeId = getDeviceTypeId();
        int result3 = (result2 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
        Object $applyUserId = getApplyUserId();
        int result4 = (result3 * 59) + ($applyUserId == null ? 43 : $applyUserId.hashCode());
        Object $repairUserId = getRepairUserId();
        int result5 = (result4 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode());
        Object $isAffect = getIsAffect();
        int result6 = (result5 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode());
        Object $urgency = getUrgency();
        int result7 = (result6 * 59) + ($urgency == null ? 43 : $urgency.hashCode());
        Object $applyStatus = getApplyStatus();
        int result8 = (result7 * 59) + ($applyStatus == null ? 43 : $applyStatus.hashCode());
        Object $malfunctionId = getMalfunctionId();
        int result9 = (result8 * 59) + ($malfunctionId == null ? 43 : $malfunctionId.hashCode());
        Object $repairNature = getRepairNature();
        int result10 = (result9 * 59) + ($repairNature == null ? 43 : $repairNature.hashCode());
        Object $applyCode = getApplyCode();
        int result11 = (result10 * 59) + ($applyCode == null ? 43 : $applyCode.hashCode());
        Object $deviceCode = getDeviceCode();
        int result12 = (result11 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
        Object $deviceName = getDeviceName();
        int result13 = (result12 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
        Object $deviceTypeName = getDeviceTypeName();
        int result14 = (result13 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
        Object $applyUserName = getApplyUserName();
        int result15 = (result14 * 59) + ($applyUserName == null ? 43 : $applyUserName.hashCode());
        Object $repairUserName = getRepairUserName();
        int result16 = (result15 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode());
        Object $malfunctionTime = getMalfunctionTime();
        int result17 = (result16 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode());
        Object $description = getDescription();
        int result18 = (result17 * 59) + ($description == null ? 43 : $description.hashCode());
        Object $fileAddDTOList = getFileAddDTOList();
        int result19 = (result18 * 59) + ($fileAddDTOList == null ? 43 : $fileAddDTOList.hashCode());
        Object $isAffectStr = getIsAffectStr();
        int result20 = (result19 * 59) + ($isAffectStr == null ? 43 : $isAffectStr.hashCode());
        Object $urgencyStr = getUrgencyStr();
        int result21 = (result20 * 59) + ($urgencyStr == null ? 43 : $urgencyStr.hashCode());
        Object $applyStatusStr = getApplyStatusStr();
        int result22 = (result21 * 59) + ($applyStatusStr == null ? 43 : $applyStatusStr.hashCode());
        Object $malfunctionCode = getMalfunctionCode();
        int result23 = (result22 * 59) + ($malfunctionCode == null ? 43 : $malfunctionCode.hashCode());
        Object $malfunctionName = getMalfunctionName();
        int result24 = (result23 * 59) + ($malfunctionName == null ? 43 : $malfunctionName.hashCode());
        Object $startTime = getStartTime();
        int result25 = (result24 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $remark = getRemark();
        int result26 = (result25 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $repairNatureName = getRepairNatureName();
        int result27 = (result26 * 59) + ($repairNatureName == null ? 43 : $repairNatureName.hashCode());
        Object $repairRecordDetailVO = getRepairRecordDetailVO();
        return (result27 * 59) + ($repairRecordDetailVO == null ? 43 : $repairRecordDetailVO.hashCode());
    }
 
    public String toString() {
        return "RepairApplyDetailVO(id=" + getId() + ", applyCode=" + getApplyCode() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", applyUserId=" + getApplyUserId() + ", applyUserName=" + getApplyUserName() + ", repairUserId=" + getRepairUserId() + ", repairUserName=" + getRepairUserName() + ", isAffect=" + getIsAffect() + ", malfunctionTime=" + getMalfunctionTime() + ", urgency=" + getUrgency() + ", description=" + getDescription() + ", applyStatus=" + getApplyStatus() + ", fileAddDTOList=" + getFileAddDTOList() + ", isAffectStr=" + getIsAffectStr() + ", urgencyStr=" + getUrgencyStr() + ", applyStatusStr=" + getApplyStatusStr() + ", malfunctionId=" + getMalfunctionId() + ", malfunctionCode=" + getMalfunctionCode() + ", malfunctionName=" + getMalfunctionName() + ", startTime=" + getStartTime() + ", remark=" + getRemark() + ", repairNature=" + getRepairNature() + ", repairNatureName=" + getRepairNatureName() + ", repairRecordDetailVO=" + getRepairRecordDetailVO() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getApplyCode() {
        return this.applyCode;
    }
 
    public Long getDeviceId() {
        return this.deviceId;
    }
 
    public String getDeviceCode() {
        return this.deviceCode;
    }
 
    public String getDeviceName() {
        return this.deviceName;
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
 
    public String getDeviceTypeName() {
        return this.deviceTypeName;
    }
 
    public Long getApplyUserId() {
        return this.applyUserId;
    }
 
    public String getApplyUserName() {
        return this.applyUserName;
    }
 
    public Long getRepairUserId() {
        return this.repairUserId;
    }
 
    public String getRepairUserName() {
        return this.repairUserName;
    }
 
    public Integer getIsAffect() {
        return this.isAffect;
    }
 
    public LocalDateTime getMalfunctionTime() {
        return this.malfunctionTime;
    }
 
    public Integer getUrgency() {
        return this.urgency;
    }
 
    public String getDescription() {
        return this.description;
    }
 
    public Integer getApplyStatus() {
        return this.applyStatus;
    }
 
    public List<RepairApplyFileAddDTO> getFileAddDTOList() {
        return this.fileAddDTOList;
    }
 
    public String getIsAffectStr() {
        return this.isAffectStr;
    }
 
    public String getUrgencyStr() {
        return this.urgencyStr;
    }
 
    public String getApplyStatusStr() {
        return this.applyStatusStr;
    }
 
    public void setIsAffect(Integer isAffect) {
        if (Func.isNotEmpty(isAffect)) {
            this.isAffect = isAffect;
            if (isAffect.equals(1)) {
                this.isAffectStr = AffectEnum.A1.getDesc();
            } else {
                this.isAffectStr = AffectEnum.A2.getDesc();
            }
        }
    }
 
    public void setUrgency(Integer urgency) {
        this.urgency = urgency;
        if (Func.isNotEmpty(urgency)) {
            if (urgency.equals(1)) {
                this.urgencyStr = UrgencyEnum.U1.getDesc();
            } else if (urgency.equals(2)) {
                this.urgencyStr = UrgencyEnum.U2.getDesc();
            } else {
                this.urgencyStr = UrgencyEnum.U3.getDesc();
            }
        }
    }
 
    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
        if (Func.isNotEmpty(applyStatus)) {
            if (applyStatus.equals(1)) {
                this.applyStatusStr = RepairApplyStatusEnum.Y1.getDesc();
            } else if (applyStatus.equals(2)) {
                this.applyStatusStr = RepairApplyStatusEnum.Y2.getDesc();
            } else if (applyStatus.equals(3)) {
                this.applyStatusStr = RepairApplyStatusEnum.Y3.getDesc();
            } else {
                this.applyStatusStr = RepairApplyStatusEnum.Y4.getDesc();
            }
        }
    }
 
    public Long getMalfunctionId() {
        return this.malfunctionId;
    }
 
    public String getMalfunctionCode() {
        return this.malfunctionCode;
    }
 
    public String getMalfunctionName() {
        return this.malfunctionName;
    }
 
    public LocalDateTime getStartTime() {
        return this.startTime;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Integer getRepairNature() {
        return this.repairNature;
    }
 
    public String getRepairNatureName() {
        return this.repairNatureName;
    }
 
    public RepairRecordDetailVO getRepairRecordDetailVO() {
        return this.repairRecordDetailVO;
    }
 
    public void setRepairNature(Integer repairNature) {
        this.repairNature = repairNature;
        if (Func.isNotEmpty(repairNature)) {
            if (repairNature.equals(Integer.valueOf(RepairNatureEnum.U1.getType()))) {
                this.repairNatureName = RepairNatureEnum.U1.getDesc();
            } else if (repairNature.equals(Integer.valueOf(RepairNatureEnum.U2.getType()))) {
                this.repairNatureName = RepairNatureEnum.U2.getDesc();
            }
        }
    }
}