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
package com.qianwen.smartman.modules.tpm.dto;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import com.qianwen.smartman.modules.cps.vo.RepairRecordMaterialAddVO;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/dto/RepairRecordUpdateDTO.class */
public class RepairRecordUpdateDTO implements Serializable {
    @NotNull(message = "维修记录Id不能为空")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("维修记录Id")
    private Long id;
    @ApiModelProperty("故障码")
    private String errorCode;
    @ApiModelProperty("维修开始时间")
    private Date repairStartTime;
    @ApiModelProperty("维修结束时间")
    private Date repairEndTime;
    @ApiModelProperty("维修用时  单位:分钟")
    private Integer repairTime;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("维修负责人id")
    private Long repairUserId;
    @ApiModelProperty("维修负责人名称")
    private String repairUserName;
    @ApiModelProperty("故障分析")
    private String malfunctionDetails;
    @ApiModelProperty("发生时间 (临时维修)")
    private Date malfunctionTime;
    @ApiModelProperty("影响生产:是 1 , 否 2(临时维修)")
    private Integer isAffect;
    @ApiModelProperty("维修记录关联附件")
    List<RepairRecordFileAddDTO> recordFileList;
    @ApiModelProperty("维修记录关联的备品备件")
    List<RepairRecordMaterialAddVO> materialAddDTOList;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("维修申请id")
    private Long repairApplyId;
    @ApiModelProperty("维修记录类型: 临时维修  1   例行维修 2")
    private Integer recordType;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("故障类型id")
    private Long malfunctionId;
    @ApiModelProperty("故障类型编码")
    private String malfunctionCode;
    @ApiModelProperty("故障类型")
    private String malfunctionName;
 
    public RepairRecordUpdateDTO setId(final Long id) {
        this.id = id;
        return this;
    }
 
    public RepairRecordUpdateDTO setErrorCode(final String errorCode) {
        this.errorCode = errorCode;
        return this;
    }
 
    public RepairRecordUpdateDTO setRepairStartTime(final Date repairStartTime) {
        this.repairStartTime = repairStartTime;
        return this;
    }
 
    public RepairRecordUpdateDTO setRepairEndTime(final Date repairEndTime) {
        this.repairEndTime = repairEndTime;
        return this;
    }
 
    public RepairRecordUpdateDTO setRepairTime(final Integer repairTime) {
        this.repairTime = repairTime;
        return this;
    }
 
    public RepairRecordUpdateDTO setRepairUserId(final Long repairUserId) {
        this.repairUserId = repairUserId;
        return this;
    }
 
    public RepairRecordUpdateDTO setRepairUserName(final String repairUserName) {
        this.repairUserName = repairUserName;
        return this;
    }
 
    public RepairRecordUpdateDTO setMalfunctionDetails(final String malfunctionDetails) {
        this.malfunctionDetails = malfunctionDetails;
        return this;
    }
 
    public RepairRecordUpdateDTO setMalfunctionTime(final Date malfunctionTime) {
        this.malfunctionTime = malfunctionTime;
        return this;
    }
 
    public RepairRecordUpdateDTO setIsAffect(final Integer isAffect) {
        this.isAffect = isAffect;
        return this;
    }
 
    public RepairRecordUpdateDTO setRecordFileList(final List<RepairRecordFileAddDTO> recordFileList) {
        this.recordFileList = recordFileList;
        return this;
    }
 
    public RepairRecordUpdateDTO setMaterialAddDTOList(final List<RepairRecordMaterialAddVO> materialAddDTOList) {
        this.materialAddDTOList = materialAddDTOList;
        return this;
    }
 
    public RepairRecordUpdateDTO setRepairApplyId(final Long repairApplyId) {
        this.repairApplyId = repairApplyId;
        return this;
    }
 
    public RepairRecordUpdateDTO setRecordType(final Integer recordType) {
        this.recordType = recordType;
        return this;
    }
 
    public RepairRecordUpdateDTO setMalfunctionId(final Long malfunctionId) {
        this.malfunctionId = malfunctionId;
        return this;
    }
 
    public RepairRecordUpdateDTO setMalfunctionCode(final String malfunctionCode) {
        this.malfunctionCode = malfunctionCode;
        return this;
    }
 
    public RepairRecordUpdateDTO setMalfunctionName(final String malfunctionName) {
        this.malfunctionName = malfunctionName;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof RepairRecordUpdateDTO) {
            RepairRecordUpdateDTO other = (RepairRecordUpdateDTO) 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$repairTime = getRepairTime();
                Object other$repairTime = other.getRepairTime();
                if (this$repairTime == null) {
                    if (other$repairTime != null) {
                        return false;
                    }
                } else if (!this$repairTime.equals(other$repairTime)) {
                    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$repairApplyId = getRepairApplyId();
                Object other$repairApplyId = other.getRepairApplyId();
                if (this$repairApplyId == null) {
                    if (other$repairApplyId != null) {
                        return false;
                    }
                } else if (!this$repairApplyId.equals(other$repairApplyId)) {
                    return false;
                }
                Object this$recordType = getRecordType();
                Object other$recordType = other.getRecordType();
                if (this$recordType == null) {
                    if (other$recordType != null) {
                        return false;
                    }
                } else if (!this$recordType.equals(other$recordType)) {
                    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$errorCode = getErrorCode();
                Object other$errorCode = other.getErrorCode();
                if (this$errorCode == null) {
                    if (other$errorCode != null) {
                        return false;
                    }
                } else if (!this$errorCode.equals(other$errorCode)) {
                    return false;
                }
                Object this$repairStartTime = getRepairStartTime();
                Object other$repairStartTime = other.getRepairStartTime();
                if (this$repairStartTime == null) {
                    if (other$repairStartTime != null) {
                        return false;
                    }
                } else if (!this$repairStartTime.equals(other$repairStartTime)) {
                    return false;
                }
                Object this$repairEndTime = getRepairEndTime();
                Object other$repairEndTime = other.getRepairEndTime();
                if (this$repairEndTime == null) {
                    if (other$repairEndTime != null) {
                        return false;
                    }
                } else if (!this$repairEndTime.equals(other$repairEndTime)) {
                    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$malfunctionDetails = getMalfunctionDetails();
                Object other$malfunctionDetails = other.getMalfunctionDetails();
                if (this$malfunctionDetails == null) {
                    if (other$malfunctionDetails != null) {
                        return false;
                    }
                } else if (!this$malfunctionDetails.equals(other$malfunctionDetails)) {
                    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$recordFileList = getRecordFileList();
                Object other$recordFileList = other.getRecordFileList();
                if (this$recordFileList == null) {
                    if (other$recordFileList != null) {
                        return false;
                    }
                } else if (!this$recordFileList.equals(other$recordFileList)) {
                    return false;
                }
                Object this$materialAddDTOList = getMaterialAddDTOList();
                Object other$materialAddDTOList = other.getMaterialAddDTOList();
                if (this$materialAddDTOList == null) {
                    if (other$materialAddDTOList != null) {
                        return false;
                    }
                } else if (!this$materialAddDTOList.equals(other$materialAddDTOList)) {
                    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();
                return this$malfunctionName == null ? other$malfunctionName == null : this$malfunctionName.equals(other$malfunctionName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof RepairRecordUpdateDTO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $repairTime = getRepairTime();
        int result2 = (result * 59) + ($repairTime == null ? 43 : $repairTime.hashCode());
        Object $repairUserId = getRepairUserId();
        int result3 = (result2 * 59) + ($repairUserId == null ? 43 : $repairUserId.hashCode());
        Object $isAffect = getIsAffect();
        int result4 = (result3 * 59) + ($isAffect == null ? 43 : $isAffect.hashCode());
        Object $repairApplyId = getRepairApplyId();
        int result5 = (result4 * 59) + ($repairApplyId == null ? 43 : $repairApplyId.hashCode());
        Object $recordType = getRecordType();
        int result6 = (result5 * 59) + ($recordType == null ? 43 : $recordType.hashCode());
        Object $malfunctionId = getMalfunctionId();
        int result7 = (result6 * 59) + ($malfunctionId == null ? 43 : $malfunctionId.hashCode());
        Object $errorCode = getErrorCode();
        int result8 = (result7 * 59) + ($errorCode == null ? 43 : $errorCode.hashCode());
        Object $repairStartTime = getRepairStartTime();
        int result9 = (result8 * 59) + ($repairStartTime == null ? 43 : $repairStartTime.hashCode());
        Object $repairEndTime = getRepairEndTime();
        int result10 = (result9 * 59) + ($repairEndTime == null ? 43 : $repairEndTime.hashCode());
        Object $repairUserName = getRepairUserName();
        int result11 = (result10 * 59) + ($repairUserName == null ? 43 : $repairUserName.hashCode());
        Object $malfunctionDetails = getMalfunctionDetails();
        int result12 = (result11 * 59) + ($malfunctionDetails == null ? 43 : $malfunctionDetails.hashCode());
        Object $malfunctionTime = getMalfunctionTime();
        int result13 = (result12 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode());
        Object $recordFileList = getRecordFileList();
        int result14 = (result13 * 59) + ($recordFileList == null ? 43 : $recordFileList.hashCode());
        Object $materialAddDTOList = getMaterialAddDTOList();
        int result15 = (result14 * 59) + ($materialAddDTOList == null ? 43 : $materialAddDTOList.hashCode());
        Object $malfunctionCode = getMalfunctionCode();
        int result16 = (result15 * 59) + ($malfunctionCode == null ? 43 : $malfunctionCode.hashCode());
        Object $malfunctionName = getMalfunctionName();
        return (result16 * 59) + ($malfunctionName == null ? 43 : $malfunctionName.hashCode());
    }
 
    public String toString() {
        return "RepairRecordUpdateDTO(id=" + getId() + ", errorCode=" + getErrorCode() + ", repairStartTime=" + getRepairStartTime() + ", repairEndTime=" + getRepairEndTime() + ", repairTime=" + getRepairTime() + ", repairUserId=" + getRepairUserId() + ", repairUserName=" + getRepairUserName() + ", malfunctionDetails=" + getMalfunctionDetails() + ", malfunctionTime=" + getMalfunctionTime() + ", isAffect=" + getIsAffect() + ", recordFileList=" + getRecordFileList() + ", materialAddDTOList=" + getMaterialAddDTOList() + ", repairApplyId=" + getRepairApplyId() + ", recordType=" + getRecordType() + ", malfunctionId=" + getMalfunctionId() + ", malfunctionCode=" + getMalfunctionCode() + ", malfunctionName=" + getMalfunctionName() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getErrorCode() {
        return this.errorCode;
    }
 
    public Date getRepairStartTime() {
        return this.repairStartTime;
    }
 
    public Date getRepairEndTime() {
        return this.repairEndTime;
    }
 
    public Integer getRepairTime() {
        return this.repairTime;
    }
 
    public Long getRepairUserId() {
        return this.repairUserId;
    }
 
    public String getRepairUserName() {
        return this.repairUserName;
    }
 
    public String getMalfunctionDetails() {
        return this.malfunctionDetails;
    }
 
    public Date getMalfunctionTime() {
        return this.malfunctionTime;
    }
 
    public Integer getIsAffect() {
        return this.isAffect;
    }
 
    public List<RepairRecordFileAddDTO> getRecordFileList() {
        return this.recordFileList;
    }
 
    public List<RepairRecordMaterialAddVO> getMaterialAddDTOList() {
        return this.materialAddDTOList;
    }
 
    public Long getRepairApplyId() {
        return this.repairApplyId;
    }
 
    public Integer getRecordType() {
        return this.recordType;
    }
 
    public Long getMalfunctionId() {
        return this.malfunctionId;
    }
 
    public String getMalfunctionCode() {
        return this.malfunctionCode;
    }
 
    public String getMalfunctionName() {
        return this.malfunctionName;
    }
}