yangys
2024-05-07 9b677ea5c6978788d135fc15da3d78c5a93789c2
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
package com.qianwen.smartman.modules.dnc.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
 
public class DncOperationLogDto implements Serializable {
    @ApiModelProperty("文件id")
    private Long fileId;
    @ApiModelProperty("文件名称")
    private String fileName;
    @ApiModelProperty("文件的objectKey")
    private String objectKey;
    @ApiModelProperty("文件的后缀")
    private String suffix;
    @ApiModelProperty("操作人id")
    private Long operatorId;
    @ApiModelProperty("操作人")
    private String operatorName;
    @ApiModelProperty("操作类型:上传1 下载2 删除3 更新4 5移动 6复制")
    private Integer operationType;
    @ApiModelProperty("操作结果:成功1 失败0")
    private Integer operationResponse;
    @ApiModelProperty("操作时间")
    private Date operationTime;
    @ApiModelProperty("源类型:本地文件 0、我的文档 1、工位文件 2、工厂文件 3、机床回传4 、工艺包 5")
    private Integer sourceType;
    @ApiModelProperty("源全路径id")
    private String sourcePathId;
    @ApiModelProperty("源全路径名称")
    private String sourcePathName;
    @ApiModelProperty("目标类型:本地文件0 我的文档1 工位文件-加工程序2 工位文件-工位文件3  FTP 4")
    private Integer targetType;
    @ApiModelProperty("目标全路径id:格式,/1/123/456")
    private String targetPathId;
    @ApiModelProperty("目标全路径名称:格式,/我的文档/文件夹1/文件夹2")
    private String targetPathName;
    @ApiModelProperty("文件链接")
    private String link;
    @ApiModelProperty("文件类型")
    private Integer fileType;
    @ApiModelProperty("版本")
    private Integer version;
    @ApiModelProperty("工位id")
    private Long workstationId;
    @ApiModelProperty("存储位置:1 常规空间  2 固定空间")
    private Integer storageSpace;
    @ApiModelProperty("文件位置:1 内部存储 2 以太网")
    private Integer fileLocation;
 
    public DncOperationLogDto setFileId(final Long fileId) {
        this.fileId = fileId;
        return this;
    }
 
    public DncOperationLogDto setFileName(final String fileName) {
        this.fileName = fileName;
        return this;
    }
 
    public DncOperationLogDto setObjectKey(final String objectKey) {
        this.objectKey = objectKey;
        return this;
    }
 
    public DncOperationLogDto setSuffix(final String suffix) {
        this.suffix = suffix;
        return this;
    }
 
    public DncOperationLogDto setOperatorId(final Long operatorId) {
        this.operatorId = operatorId;
        return this;
    }
 
    public DncOperationLogDto setOperatorName(final String operatorName) {
        this.operatorName = operatorName;
        return this;
    }
 
    public DncOperationLogDto setOperationType(final Integer operationType) {
        this.operationType = operationType;
        return this;
    }
 
    public DncOperationLogDto setOperationResponse(final Integer operationResponse) {
        this.operationResponse = operationResponse;
        return this;
    }
 
    public DncOperationLogDto setOperationTime(final Date operationTime) {
        this.operationTime = operationTime;
        return this;
    }
 
    public DncOperationLogDto setSourceType(final Integer sourceType) {
        this.sourceType = sourceType;
        return this;
    }
 
    public DncOperationLogDto setSourcePathId(final String sourcePathId) {
        this.sourcePathId = sourcePathId;
        return this;
    }
 
    public DncOperationLogDto setSourcePathName(final String sourcePathName) {
        this.sourcePathName = sourcePathName;
        return this;
    }
 
    public DncOperationLogDto setTargetType(final Integer targetType) {
        this.targetType = targetType;
        return this;
    }
 
    public DncOperationLogDto setTargetPathId(final String targetPathId) {
        this.targetPathId = targetPathId;
        return this;
    }
 
    public DncOperationLogDto setTargetPathName(final String targetPathName) {
        this.targetPathName = targetPathName;
        return this;
    }
 
    public DncOperationLogDto setLink(final String link) {
        this.link = link;
        return this;
    }
 
    public DncOperationLogDto setFileType(final Integer fileType) {
        this.fileType = fileType;
        return this;
    }
 
    public DncOperationLogDto setVersion(final Integer version) {
        this.version = version;
        return this;
    }
 
    public DncOperationLogDto setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
        return this;
    }
 
    public DncOperationLogDto setStorageSpace(final Integer storageSpace) {
        this.storageSpace = storageSpace;
        return this;
    }
 
    public DncOperationLogDto setFileLocation(final Integer fileLocation) {
        this.fileLocation = fileLocation;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DncOperationLogDto) {
            DncOperationLogDto other = (DncOperationLogDto) o;
            if (other.canEqual(this)) {
                Object this$fileId = getFileId();
                Object other$fileId = other.getFileId();
                if (this$fileId == null) {
                    if (other$fileId != null) {
                        return false;
                    }
                } else if (!this$fileId.equals(other$fileId)) {
                    return false;
                }
                Object this$operatorId = getOperatorId();
                Object other$operatorId = other.getOperatorId();
                if (this$operatorId == null) {
                    if (other$operatorId != null) {
                        return false;
                    }
                } else if (!this$operatorId.equals(other$operatorId)) {
                    return false;
                }
                Object this$operationType = getOperationType();
                Object other$operationType = other.getOperationType();
                if (this$operationType == null) {
                    if (other$operationType != null) {
                        return false;
                    }
                } else if (!this$operationType.equals(other$operationType)) {
                    return false;
                }
                Object this$operationResponse = getOperationResponse();
                Object other$operationResponse = other.getOperationResponse();
                if (this$operationResponse == null) {
                    if (other$operationResponse != null) {
                        return false;
                    }
                } else if (!this$operationResponse.equals(other$operationResponse)) {
                    return false;
                }
                Object this$sourceType = getSourceType();
                Object other$sourceType = other.getSourceType();
                if (this$sourceType == null) {
                    if (other$sourceType != null) {
                        return false;
                    }
                } else if (!this$sourceType.equals(other$sourceType)) {
                    return false;
                }
                Object this$targetType = getTargetType();
                Object other$targetType = other.getTargetType();
                if (this$targetType == null) {
                    if (other$targetType != null) {
                        return false;
                    }
                } else if (!this$targetType.equals(other$targetType)) {
                    return false;
                }
                Object this$fileType = getFileType();
                Object other$fileType = other.getFileType();
                if (this$fileType == null) {
                    if (other$fileType != null) {
                        return false;
                    }
                } else if (!this$fileType.equals(other$fileType)) {
                    return false;
                }
                Object this$version = getVersion();
                Object other$version = other.getVersion();
                if (this$version == null) {
                    if (other$version != null) {
                        return false;
                    }
                } else if (!this$version.equals(other$version)) {
                    return false;
                }
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$storageSpace = getStorageSpace();
                Object other$storageSpace = other.getStorageSpace();
                if (this$storageSpace == null) {
                    if (other$storageSpace != null) {
                        return false;
                    }
                } else if (!this$storageSpace.equals(other$storageSpace)) {
                    return false;
                }
                Object this$fileLocation = getFileLocation();
                Object other$fileLocation = other.getFileLocation();
                if (this$fileLocation == null) {
                    if (other$fileLocation != null) {
                        return false;
                    }
                } else if (!this$fileLocation.equals(other$fileLocation)) {
                    return false;
                }
                Object this$fileName = getFileName();
                Object other$fileName = other.getFileName();
                if (this$fileName == null) {
                    if (other$fileName != null) {
                        return false;
                    }
                } else if (!this$fileName.equals(other$fileName)) {
                    return false;
                }
                Object this$objectKey = getObjectKey();
                Object other$objectKey = other.getObjectKey();
                if (this$objectKey == null) {
                    if (other$objectKey != null) {
                        return false;
                    }
                } else if (!this$objectKey.equals(other$objectKey)) {
                    return false;
                }
                Object this$suffix = getSuffix();
                Object other$suffix = other.getSuffix();
                if (this$suffix == null) {
                    if (other$suffix != null) {
                        return false;
                    }
                } else if (!this$suffix.equals(other$suffix)) {
                    return false;
                }
                Object this$operatorName = getOperatorName();
                Object other$operatorName = other.getOperatorName();
                if (this$operatorName == null) {
                    if (other$operatorName != null) {
                        return false;
                    }
                } else if (!this$operatorName.equals(other$operatorName)) {
                    return false;
                }
                Object this$operationTime = getOperationTime();
                Object other$operationTime = other.getOperationTime();
                if (this$operationTime == null) {
                    if (other$operationTime != null) {
                        return false;
                    }
                } else if (!this$operationTime.equals(other$operationTime)) {
                    return false;
                }
                Object this$sourcePathId = getSourcePathId();
                Object other$sourcePathId = other.getSourcePathId();
                if (this$sourcePathId == null) {
                    if (other$sourcePathId != null) {
                        return false;
                    }
                } else if (!this$sourcePathId.equals(other$sourcePathId)) {
                    return false;
                }
                Object this$sourcePathName = getSourcePathName();
                Object other$sourcePathName = other.getSourcePathName();
                if (this$sourcePathName == null) {
                    if (other$sourcePathName != null) {
                        return false;
                    }
                } else if (!this$sourcePathName.equals(other$sourcePathName)) {
                    return false;
                }
                Object this$targetPathId = getTargetPathId();
                Object other$targetPathId = other.getTargetPathId();
                if (this$targetPathId == null) {
                    if (other$targetPathId != null) {
                        return false;
                    }
                } else if (!this$targetPathId.equals(other$targetPathId)) {
                    return false;
                }
                Object this$targetPathName = getTargetPathName();
                Object other$targetPathName = other.getTargetPathName();
                if (this$targetPathName == null) {
                    if (other$targetPathName != null) {
                        return false;
                    }
                } else if (!this$targetPathName.equals(other$targetPathName)) {
                    return false;
                }
                Object this$link = getLink();
                Object other$link = other.getLink();
                return this$link == null ? other$link == null : this$link.equals(other$link);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DncOperationLogDto;
    }
 
    public int hashCode() {
        Object $fileId = getFileId();
        int result = (1 * 59) + ($fileId == null ? 43 : $fileId.hashCode());
        Object $operatorId = getOperatorId();
        int result2 = (result * 59) + ($operatorId == null ? 43 : $operatorId.hashCode());
        Object $operationType = getOperationType();
        int result3 = (result2 * 59) + ($operationType == null ? 43 : $operationType.hashCode());
        Object $operationResponse = getOperationResponse();
        int result4 = (result3 * 59) + ($operationResponse == null ? 43 : $operationResponse.hashCode());
        Object $sourceType = getSourceType();
        int result5 = (result4 * 59) + ($sourceType == null ? 43 : $sourceType.hashCode());
        Object $targetType = getTargetType();
        int result6 = (result5 * 59) + ($targetType == null ? 43 : $targetType.hashCode());
        Object $fileType = getFileType();
        int result7 = (result6 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
        Object $version = getVersion();
        int result8 = (result7 * 59) + ($version == null ? 43 : $version.hashCode());
        Object $workstationId = getWorkstationId();
        int result9 = (result8 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $storageSpace = getStorageSpace();
        int result10 = (result9 * 59) + ($storageSpace == null ? 43 : $storageSpace.hashCode());
        Object $fileLocation = getFileLocation();
        int result11 = (result10 * 59) + ($fileLocation == null ? 43 : $fileLocation.hashCode());
        Object $fileName = getFileName();
        int result12 = (result11 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
        Object $objectKey = getObjectKey();
        int result13 = (result12 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
        Object $suffix = getSuffix();
        int result14 = (result13 * 59) + ($suffix == null ? 43 : $suffix.hashCode());
        Object $operatorName = getOperatorName();
        int result15 = (result14 * 59) + ($operatorName == null ? 43 : $operatorName.hashCode());
        Object $operationTime = getOperationTime();
        int result16 = (result15 * 59) + ($operationTime == null ? 43 : $operationTime.hashCode());
        Object $sourcePathId = getSourcePathId();
        int result17 = (result16 * 59) + ($sourcePathId == null ? 43 : $sourcePathId.hashCode());
        Object $sourcePathName = getSourcePathName();
        int result18 = (result17 * 59) + ($sourcePathName == null ? 43 : $sourcePathName.hashCode());
        Object $targetPathId = getTargetPathId();
        int result19 = (result18 * 59) + ($targetPathId == null ? 43 : $targetPathId.hashCode());
        Object $targetPathName = getTargetPathName();
        int result20 = (result19 * 59) + ($targetPathName == null ? 43 : $targetPathName.hashCode());
        Object $link = getLink();
        return (result20 * 59) + ($link == null ? 43 : $link.hashCode());
    }
 
    public String toString() {
        return "DncOperationLogDto(fileId=" + getFileId() + ", fileName=" + getFileName() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", operatorId=" + getOperatorId() + ", operatorName=" + getOperatorName() + ", operationType=" + getOperationType() + ", operationResponse=" + getOperationResponse() + ", operationTime=" + getOperationTime() + ", sourceType=" + getSourceType() + ", sourcePathId=" + getSourcePathId() + ", sourcePathName=" + getSourcePathName() + ", targetType=" + getTargetType() + ", targetPathId=" + getTargetPathId() + ", targetPathName=" + getTargetPathName() + ", link=" + getLink() + ", fileType=" + getFileType() + ", version=" + getVersion() + ", workstationId=" + getWorkstationId() + ", storageSpace=" + getStorageSpace() + ", fileLocation=" + getFileLocation() + ")";
    }
 
    public Long getFileId() {
        return this.fileId;
    }
 
    public String getFileName() {
        return this.fileName;
    }
 
    public String getObjectKey() {
        return this.objectKey;
    }
 
    public String getSuffix() {
        return this.suffix;
    }
 
    public Long getOperatorId() {
        return this.operatorId;
    }
 
    public String getOperatorName() {
        return this.operatorName;
    }
 
    public Integer getOperationType() {
        return this.operationType;
    }
 
    public Integer getOperationResponse() {
        return this.operationResponse;
    }
 
    public Date getOperationTime() {
        return this.operationTime;
    }
 
    public Integer getSourceType() {
        return this.sourceType;
    }
 
    public String getSourcePathId() {
        return this.sourcePathId;
    }
 
    public String getSourcePathName() {
        return this.sourcePathName;
    }
 
    public Integer getTargetType() {
        return this.targetType;
    }
 
    public String getTargetPathId() {
        return this.targetPathId;
    }
 
    public String getTargetPathName() {
        return this.targetPathName;
    }
 
    public String getLink() {
        return this.link;
    }
 
    public Integer getFileType() {
        return this.fileType;
    }
 
    public Integer getVersion() {
        return this.version;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public Integer getStorageSpace() {
        return this.storageSpace;
    }
 
    public Integer getFileLocation() {
        return this.fileLocation;
    }
}