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
package com.qianwen.smartman.modules.tpm.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.qianwen.smartman.common.constant.DateConstant;
import com.qianwen.smartman.modules.tpm.dto.CheckRecordFileDTO;
import com.qianwen.smartman.modules.tpm.dto.CheckRecordItemDTO;
import org.springframework.format.annotation.DateTimeFormat;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/CheckRecordSubmitVO.class */
public class CheckRecordSubmitVO implements Serializable {
    private static final long serialVersionUID = -4764779689998055124L;
    @ApiModelProperty("点检记录code")
    private String checkCode;
    @ApiModelProperty(value = "设备id", dataType = "java.lang.String")
    private Long deviceId;
    @ApiModelProperty("设备编码")
    private String deviceCode;
    @ApiModelProperty("设备名称")
    private String deviceName;
    @ApiModelProperty("规格型号")
    private String machineModel;
    @ApiModelProperty(value = "设备类型", dataType = "java.lang.String")
    private Long deviceTypeId;
    @ApiModelProperty("设备类型名称")
    private String deviceTypeName;
    @ApiModelProperty(value = "检验人员id", dataType = "java.lang.String")
    private Long checkUserId;
    @ApiModelProperty("检验人员名称")
    private String checkUserName;
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    @ApiModelProperty("点检时间")
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    private Date checkTime;
    @ApiModelProperty("点检结果(0: 不正常;1: 正常)")
    private Integer checkResult;
    @ApiModelProperty(value = "点检项目id", dataType = "java.lang.String")
    private Long checkProjectId;
    @ApiModelProperty("点检项目编码")
    private String checkProjectCode;
    @ApiModelProperty("点检项目名称")
    private String checkProjectName;
    @ApiModelProperty("点检描述")
    private String remark;
    @ApiModelProperty("点检记录附件")
    private List<CheckRecordFileDTO> fileList;
    @ApiModelProperty("点检记录点检项")
    private List<CheckRecordItemDTO> itemList;
    @ApiModelProperty("点检记录图片")
    private List<CheckRecordFileDTO> pictureList;
 
    public CheckRecordSubmitVO setCheckCode(final String checkCode) {
        this.checkCode = checkCode;
        return this;
    }
 
    public CheckRecordSubmitVO setDeviceId(final Long deviceId) {
        this.deviceId = deviceId;
        return this;
    }
 
    public CheckRecordSubmitVO setDeviceCode(final String deviceCode) {
        this.deviceCode = deviceCode;
        return this;
    }
 
    public CheckRecordSubmitVO setDeviceName(final String deviceName) {
        this.deviceName = deviceName;
        return this;
    }
 
    public CheckRecordSubmitVO setMachineModel(final String machineModel) {
        this.machineModel = machineModel;
        return this;
    }
 
    public CheckRecordSubmitVO setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
        return this;
    }
 
    public CheckRecordSubmitVO setDeviceTypeName(final String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
        return this;
    }
 
    public CheckRecordSubmitVO setCheckUserId(final Long checkUserId) {
        this.checkUserId = checkUserId;
        return this;
    }
 
    public CheckRecordSubmitVO setCheckUserName(final String checkUserName) {
        this.checkUserName = checkUserName;
        return this;
    }
 
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    public CheckRecordSubmitVO setCheckTime(final Date checkTime) {
        this.checkTime = checkTime;
        return this;
    }
 
    public CheckRecordSubmitVO setCheckResult(final Integer checkResult) {
        this.checkResult = checkResult;
        return this;
    }
 
    public CheckRecordSubmitVO setCheckProjectId(final Long checkProjectId) {
        this.checkProjectId = checkProjectId;
        return this;
    }
 
    public CheckRecordSubmitVO setCheckProjectCode(final String checkProjectCode) {
        this.checkProjectCode = checkProjectCode;
        return this;
    }
 
    public CheckRecordSubmitVO setCheckProjectName(final String checkProjectName) {
        this.checkProjectName = checkProjectName;
        return this;
    }
 
    public CheckRecordSubmitVO setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public CheckRecordSubmitVO setFileList(final List<CheckRecordFileDTO> fileList) {
        this.fileList = fileList;
        return this;
    }
 
    public CheckRecordSubmitVO setItemList(final List<CheckRecordItemDTO> itemList) {
        this.itemList = itemList;
        return this;
    }
 
    public CheckRecordSubmitVO setPictureList(final List<CheckRecordFileDTO> pictureList) {
        this.pictureList = pictureList;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CheckRecordSubmitVO) {
            CheckRecordSubmitVO other = (CheckRecordSubmitVO) o;
            if (other.canEqual(this)) {
                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$checkUserId = getCheckUserId();
                Object other$checkUserId = other.getCheckUserId();
                if (this$checkUserId == null) {
                    if (other$checkUserId != null) {
                        return false;
                    }
                } else if (!this$checkUserId.equals(other$checkUserId)) {
                    return false;
                }
                Object this$checkResult = getCheckResult();
                Object other$checkResult = other.getCheckResult();
                if (this$checkResult == null) {
                    if (other$checkResult != null) {
                        return false;
                    }
                } else if (!this$checkResult.equals(other$checkResult)) {
                    return false;
                }
                Object this$checkProjectId = getCheckProjectId();
                Object other$checkProjectId = other.getCheckProjectId();
                if (this$checkProjectId == null) {
                    if (other$checkProjectId != null) {
                        return false;
                    }
                } else if (!this$checkProjectId.equals(other$checkProjectId)) {
                    return false;
                }
                Object this$checkCode = getCheckCode();
                Object other$checkCode = other.getCheckCode();
                if (this$checkCode == null) {
                    if (other$checkCode != null) {
                        return false;
                    }
                } else if (!this$checkCode.equals(other$checkCode)) {
                    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$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$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$checkUserName = getCheckUserName();
                Object other$checkUserName = other.getCheckUserName();
                if (this$checkUserName == null) {
                    if (other$checkUserName != null) {
                        return false;
                    }
                } else if (!this$checkUserName.equals(other$checkUserName)) {
                    return false;
                }
                Object this$checkTime = getCheckTime();
                Object other$checkTime = other.getCheckTime();
                if (this$checkTime == null) {
                    if (other$checkTime != null) {
                        return false;
                    }
                } else if (!this$checkTime.equals(other$checkTime)) {
                    return false;
                }
                Object this$checkProjectCode = getCheckProjectCode();
                Object other$checkProjectCode = other.getCheckProjectCode();
                if (this$checkProjectCode == null) {
                    if (other$checkProjectCode != null) {
                        return false;
                    }
                } else if (!this$checkProjectCode.equals(other$checkProjectCode)) {
                    return false;
                }
                Object this$checkProjectName = getCheckProjectName();
                Object other$checkProjectName = other.getCheckProjectName();
                if (this$checkProjectName == null) {
                    if (other$checkProjectName != null) {
                        return false;
                    }
                } else if (!this$checkProjectName.equals(other$checkProjectName)) {
                    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$fileList = getFileList();
                Object other$fileList = other.getFileList();
                if (this$fileList == null) {
                    if (other$fileList != null) {
                        return false;
                    }
                } else if (!this$fileList.equals(other$fileList)) {
                    return false;
                }
                Object this$itemList = getItemList();
                Object other$itemList = other.getItemList();
                if (this$itemList == null) {
                    if (other$itemList != null) {
                        return false;
                    }
                } else if (!this$itemList.equals(other$itemList)) {
                    return false;
                }
                Object this$pictureList = getPictureList();
                Object other$pictureList = other.getPictureList();
                return this$pictureList == null ? other$pictureList == null : this$pictureList.equals(other$pictureList);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CheckRecordSubmitVO;
    }
 
    public int hashCode() {
        Object $deviceId = getDeviceId();
        int result = (1 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
        Object $deviceTypeId = getDeviceTypeId();
        int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
        Object $checkUserId = getCheckUserId();
        int result3 = (result2 * 59) + ($checkUserId == null ? 43 : $checkUserId.hashCode());
        Object $checkResult = getCheckResult();
        int result4 = (result3 * 59) + ($checkResult == null ? 43 : $checkResult.hashCode());
        Object $checkProjectId = getCheckProjectId();
        int result5 = (result4 * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode());
        Object $checkCode = getCheckCode();
        int result6 = (result5 * 59) + ($checkCode == null ? 43 : $checkCode.hashCode());
        Object $deviceCode = getDeviceCode();
        int result7 = (result6 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
        Object $deviceName = getDeviceName();
        int result8 = (result7 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
        Object $machineModel = getMachineModel();
        int result9 = (result8 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
        Object $deviceTypeName = getDeviceTypeName();
        int result10 = (result9 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
        Object $checkUserName = getCheckUserName();
        int result11 = (result10 * 59) + ($checkUserName == null ? 43 : $checkUserName.hashCode());
        Object $checkTime = getCheckTime();
        int result12 = (result11 * 59) + ($checkTime == null ? 43 : $checkTime.hashCode());
        Object $checkProjectCode = getCheckProjectCode();
        int result13 = (result12 * 59) + ($checkProjectCode == null ? 43 : $checkProjectCode.hashCode());
        Object $checkProjectName = getCheckProjectName();
        int result14 = (result13 * 59) + ($checkProjectName == null ? 43 : $checkProjectName.hashCode());
        Object $remark = getRemark();
        int result15 = (result14 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $fileList = getFileList();
        int result16 = (result15 * 59) + ($fileList == null ? 43 : $fileList.hashCode());
        Object $itemList = getItemList();
        int result17 = (result16 * 59) + ($itemList == null ? 43 : $itemList.hashCode());
        Object $pictureList = getPictureList();
        return (result17 * 59) + ($pictureList == null ? 43 : $pictureList.hashCode());
    }
 
    public String toString() {
        return "CheckRecordSubmitVO(checkCode=" + getCheckCode() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", machineModel=" + getMachineModel() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", checkUserId=" + getCheckUserId() + ", checkUserName=" + getCheckUserName() + ", checkTime=" + getCheckTime() + ", checkResult=" + getCheckResult() + ", checkProjectId=" + getCheckProjectId() + ", checkProjectCode=" + getCheckProjectCode() + ", checkProjectName=" + getCheckProjectName() + ", remark=" + getRemark() + ", fileList=" + getFileList() + ", itemList=" + getItemList() + ", pictureList=" + getPictureList() + ")";
    }
 
    public String getCheckCode() {
        return this.checkCode;
    }
 
    public Long getDeviceId() {
        return this.deviceId;
    }
 
    public String getDeviceCode() {
        return this.deviceCode;
    }
 
    public String getDeviceName() {
        return this.deviceName;
    }
 
    public String getMachineModel() {
        return this.machineModel;
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
 
    public String getDeviceTypeName() {
        return this.deviceTypeName;
    }
 
    public Long getCheckUserId() {
        return this.checkUserId;
    }
 
    public String getCheckUserName() {
        return this.checkUserName;
    }
 
    public Date getCheckTime() {
        return this.checkTime;
    }
 
    public Integer getCheckResult() {
        return this.checkResult;
    }
 
    public Long getCheckProjectId() {
        return this.checkProjectId;
    }
 
    public String getCheckProjectCode() {
        return this.checkProjectCode;
    }
 
    public String getCheckProjectName() {
        return this.checkProjectName;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public List<CheckRecordFileDTO> getFileList() {
        return this.fileList;
    }
 
    public List<CheckRecordItemDTO> getItemList() {
        return this.itemList;
    }
 
    public List<CheckRecordFileDTO> getPictureList() {
        return this.pictureList;
    }
}