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
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
package com.qianwen.smartman.modules.dnc.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName(TransferDirectoryFile.TABLE_NAME)
public class TransferDirectoryFile extends TenantEntity implements Serializable {
    public static final String TABLE_NAME = "blade_dnc_transfer_directory_file";
    public static final Integer RESOURCE_FILE = 2;
    public static final Integer NOT_RESOURCE_FILE = 1;
    public static final Integer BACK_FILE = 4;
    private static final long serialVersionUID = 1;
    @TableField("transfer_directory_id")
    private Long transferDirectoryId;
    @TableField("workstation_id")
    private Long workstationId;
    @TableField("file_type")
    private Integer fileType;
    @TableField("file_source")
    private Integer fileSource;
    @TableField("filename")
    private String filename;
    @TableField("original_filename")
    private String originalFilename;
    @TableField("content_md5")
    private String contentMd5;
    @TableField("content_length")
    private Long contentLength;
    @TableField("last_modified")
    private Date lastModified;
    @TableField("content_type")
    private String contentType;
    @TableField("object_key")
    private String objectKey;
    @TableField("suffix")
    private String suffix;
    @TableField("is_current")
    private Integer isCurrent;
    @TableField("cover_time")
    private Date covertTime;
    @TableField("craft_file_id")
    private Long craftFileId;
    @TableField("link")
    private String link;
    @TableField("version")
    private Integer version;
    @TableField("storage_space")
    private Integer storageSpace;
    @TableField("whether_archive")
    private Integer whetherArchive;
    @TableField("storage_space_id")
    private Long storageSpaceId;
 
    public void setTransferDirectoryId(final Long transferDirectoryId) {
        this.transferDirectoryId = transferDirectoryId;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setFileType(final Integer fileType) {
        this.fileType = fileType;
    }
 
    public void setFileSource(final Integer fileSource) {
        this.fileSource = fileSource;
    }
 
    public void setFilename(final String filename) {
        this.filename = filename;
    }
 
    public void setOriginalFilename(final String originalFilename) {
        this.originalFilename = originalFilename;
    }
 
    public void setContentMd5(final String contentMd5) {
        this.contentMd5 = contentMd5;
    }
 
    public void setContentLength(final Long contentLength) {
        this.contentLength = contentLength;
    }
 
    public void setLastModified(final Date lastModified) {
        this.lastModified = lastModified;
    }
 
    public void setContentType(final String contentType) {
        this.contentType = contentType;
    }
 
    public void setObjectKey(final String objectKey) {
        this.objectKey = objectKey;
    }
 
    public void setSuffix(final String suffix) {
        this.suffix = suffix;
    }
 
    public void setIsCurrent(final Integer isCurrent) {
        this.isCurrent = isCurrent;
    }
 
    public void setCovertTime(final Date covertTime) {
        this.covertTime = covertTime;
    }
 
    public void setCraftFileId(final Long craftFileId) {
        this.craftFileId = craftFileId;
    }
 
    public void setLink(final String link) {
        this.link = link;
    }
 
    public void setVersion(final Integer version) {
        this.version = version;
    }
 
    public void setStorageSpace(final Integer storageSpace) {
        this.storageSpace = storageSpace;
    }
 
    public void setWhetherArchive(final Integer whetherArchive) {
        this.whetherArchive = whetherArchive;
    }
 
    public void setStorageSpaceId(final Long storageSpaceId) {
        this.storageSpaceId = storageSpaceId;
    }
 
    public String toString() {
        return "TransferDirectoryFile(transferDirectoryId=" + getTransferDirectoryId() + ", workstationId=" + getWorkstationId() + ", fileType=" + getFileType() + ", fileSource=" + getFileSource() + ", filename=" + getFilename() + ", originalFilename=" + getOriginalFilename() + ", contentMd5=" + getContentMd5() + ", contentLength=" + getContentLength() + ", lastModified=" + getLastModified() + ", contentType=" + getContentType() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", isCurrent=" + getIsCurrent() + ", covertTime=" + getCovertTime() + ", craftFileId=" + getCraftFileId() + ", link=" + getLink() + ", version=" + getVersion() + ", storageSpace=" + getStorageSpace() + ", whetherArchive=" + getWhetherArchive() + ", storageSpaceId=" + getStorageSpaceId() + ")";
    }
 
    public TransferDirectoryFile(final Long transferDirectoryId, final Long workstationId, final Integer fileType, final Integer fileSource, final String filename, final String originalFilename, final String contentMd5, final Long contentLength, final Date lastModified, final String contentType, final String objectKey, final String suffix, final Integer isCurrent, final Date covertTime, final Long craftFileId, final String link, final Integer version, final Integer storageSpace, final Integer whetherArchive, final Long storageSpaceId) {
        this.transferDirectoryId = transferDirectoryId;
        this.workstationId = workstationId;
        this.fileType = fileType;
        this.fileSource = fileSource;
        this.filename = filename;
        this.originalFilename = originalFilename;
        this.contentMd5 = contentMd5;
        this.contentLength = contentLength;
        this.lastModified = lastModified;
        this.contentType = contentType;
        this.objectKey = objectKey;
        this.suffix = suffix;
        this.isCurrent = isCurrent;
        this.covertTime = covertTime;
        this.craftFileId = craftFileId;
        this.link = link;
        this.version = version;
        this.storageSpace = storageSpace;
        this.whetherArchive = whetherArchive;
        this.storageSpaceId = storageSpaceId;
    }
 
    public TransferDirectoryFile() {
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/entity/TransferDirectoryFile$TransferDirectoryFileBuilder.class */
    public static class TransferDirectoryFileBuilder {
        private Long transferDirectoryId;
        private Long workstationId;
        private Integer fileType;
        private Integer fileSource;
        private String filename;
        private String originalFilename;
        private String contentMd5;
        private Long contentLength;
        private Date lastModified;
        private String contentType;
        private String objectKey;
        private String suffix;
        private Integer isCurrent;
        private Date covertTime;
        private Long craftFileId;
        private String link;
        private Integer version;
        private Integer storageSpace;
        private Integer whetherArchive;
        private Long storageSpaceId;
 
        TransferDirectoryFileBuilder() {
        }
 
        public TransferDirectoryFileBuilder transferDirectoryId(final Long transferDirectoryId) {
            this.transferDirectoryId = transferDirectoryId;
            return this;
        }
 
        public TransferDirectoryFileBuilder workstationId(final Long workstationId) {
            this.workstationId = workstationId;
            return this;
        }
 
        public TransferDirectoryFileBuilder fileType(final Integer fileType) {
            this.fileType = fileType;
            return this;
        }
 
        public TransferDirectoryFileBuilder fileSource(final Integer fileSource) {
            this.fileSource = fileSource;
            return this;
        }
 
        public TransferDirectoryFileBuilder filename(final String filename) {
            this.filename = filename;
            return this;
        }
 
        public TransferDirectoryFileBuilder originalFilename(final String originalFilename) {
            this.originalFilename = originalFilename;
            return this;
        }
 
        public TransferDirectoryFileBuilder contentMd5(final String contentMd5) {
            this.contentMd5 = contentMd5;
            return this;
        }
 
        public TransferDirectoryFileBuilder contentLength(final Long contentLength) {
            this.contentLength = contentLength;
            return this;
        }
 
        public TransferDirectoryFileBuilder lastModified(final Date lastModified) {
            this.lastModified = lastModified;
            return this;
        }
 
        public TransferDirectoryFileBuilder contentType(final String contentType) {
            this.contentType = contentType;
            return this;
        }
 
        public TransferDirectoryFileBuilder objectKey(final String objectKey) {
            this.objectKey = objectKey;
            return this;
        }
 
        public TransferDirectoryFileBuilder suffix(final String suffix) {
            this.suffix = suffix;
            return this;
        }
 
        public TransferDirectoryFileBuilder isCurrent(final Integer isCurrent) {
            this.isCurrent = isCurrent;
            return this;
        }
 
        public TransferDirectoryFileBuilder covertTime(final Date covertTime) {
            this.covertTime = covertTime;
            return this;
        }
 
        public TransferDirectoryFileBuilder craftFileId(final Long craftFileId) {
            this.craftFileId = craftFileId;
            return this;
        }
 
        public TransferDirectoryFileBuilder link(final String link) {
            this.link = link;
            return this;
        }
 
        public TransferDirectoryFileBuilder version(final Integer version) {
            this.version = version;
            return this;
        }
 
        public TransferDirectoryFileBuilder storageSpace(final Integer storageSpace) {
            this.storageSpace = storageSpace;
            return this;
        }
 
        public TransferDirectoryFileBuilder whetherArchive(final Integer whetherArchive) {
            this.whetherArchive = whetherArchive;
            return this;
        }
 
        public TransferDirectoryFileBuilder storageSpaceId(final Long storageSpaceId) {
            this.storageSpaceId = storageSpaceId;
            return this;
        }
 
        public TransferDirectoryFile build() {
            return new TransferDirectoryFile(this.transferDirectoryId, this.workstationId, this.fileType, this.fileSource, this.filename, this.originalFilename, this.contentMd5, this.contentLength, this.lastModified, this.contentType, this.objectKey, this.suffix, this.isCurrent, this.covertTime, this.craftFileId, this.link, this.version, this.storageSpace, this.whetherArchive, this.storageSpaceId);
        }
 
        public String toString() {
            return "TransferDirectoryFile.TransferDirectoryFileBuilder(transferDirectoryId=" + this.transferDirectoryId + ", workstationId=" + this.workstationId + ", fileType=" + this.fileType + ", fileSource=" + this.fileSource + ", filename=" + this.filename + ", originalFilename=" + this.originalFilename + ", contentMd5=" + this.contentMd5 + ", contentLength=" + this.contentLength + ", lastModified=" + this.lastModified + ", contentType=" + this.contentType + ", objectKey=" + this.objectKey + ", suffix=" + this.suffix + ", isCurrent=" + this.isCurrent + ", covertTime=" + this.covertTime + ", craftFileId=" + this.craftFileId + ", link=" + this.link + ", version=" + this.version + ", storageSpace=" + this.storageSpace + ", whetherArchive=" + this.whetherArchive + ", storageSpaceId=" + this.storageSpaceId + ")";
        }
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TransferDirectoryFile) {
            TransferDirectoryFile other = (TransferDirectoryFile) o;
            if (other.canEqual(this)) {
                Object this$transferDirectoryId = getTransferDirectoryId();
                Object other$transferDirectoryId = other.getTransferDirectoryId();
                if (this$transferDirectoryId == null) {
                    if (other$transferDirectoryId != null) {
                        return false;
                    }
                } else if (!this$transferDirectoryId.equals(other$transferDirectoryId)) {
                    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$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$fileSource = getFileSource();
                Object other$fileSource = other.getFileSource();
                if (this$fileSource == null) {
                    if (other$fileSource != null) {
                        return false;
                    }
                } else if (!this$fileSource.equals(other$fileSource)) {
                    return false;
                }
                Object this$contentLength = getContentLength();
                Object other$contentLength = other.getContentLength();
                if (this$contentLength == null) {
                    if (other$contentLength != null) {
                        return false;
                    }
                } else if (!this$contentLength.equals(other$contentLength)) {
                    return false;
                }
                Object this$isCurrent = getIsCurrent();
                Object other$isCurrent = other.getIsCurrent();
                if (this$isCurrent == null) {
                    if (other$isCurrent != null) {
                        return false;
                    }
                } else if (!this$isCurrent.equals(other$isCurrent)) {
                    return false;
                }
                Object this$craftFileId = getCraftFileId();
                Object other$craftFileId = other.getCraftFileId();
                if (this$craftFileId == null) {
                    if (other$craftFileId != null) {
                        return false;
                    }
                } else if (!this$craftFileId.equals(other$craftFileId)) {
                    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$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$whetherArchive = getWhetherArchive();
                Object other$whetherArchive = other.getWhetherArchive();
                if (this$whetherArchive == null) {
                    if (other$whetherArchive != null) {
                        return false;
                    }
                } else if (!this$whetherArchive.equals(other$whetherArchive)) {
                    return false;
                }
                Object this$storageSpaceId = getStorageSpaceId();
                Object other$storageSpaceId = other.getStorageSpaceId();
                if (this$storageSpaceId == null) {
                    if (other$storageSpaceId != null) {
                        return false;
                    }
                } else if (!this$storageSpaceId.equals(other$storageSpaceId)) {
                    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$originalFilename = getOriginalFilename();
                Object other$originalFilename = other.getOriginalFilename();
                if (this$originalFilename == null) {
                    if (other$originalFilename != null) {
                        return false;
                    }
                } else if (!this$originalFilename.equals(other$originalFilename)) {
                    return false;
                }
                Object this$contentMd5 = getContentMd5();
                Object other$contentMd5 = other.getContentMd5();
                if (this$contentMd5 == null) {
                    if (other$contentMd5 != null) {
                        return false;
                    }
                } else if (!this$contentMd5.equals(other$contentMd5)) {
                    return false;
                }
                Object this$lastModified = getLastModified();
                Object other$lastModified = other.getLastModified();
                if (this$lastModified == null) {
                    if (other$lastModified != null) {
                        return false;
                    }
                } else if (!this$lastModified.equals(other$lastModified)) {
                    return false;
                }
                Object this$contentType = getContentType();
                Object other$contentType = other.getContentType();
                if (this$contentType == null) {
                    if (other$contentType != null) {
                        return false;
                    }
                } else if (!this$contentType.equals(other$contentType)) {
                    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$covertTime = getCovertTime();
                Object other$covertTime = other.getCovertTime();
                if (this$covertTime == null) {
                    if (other$covertTime != null) {
                        return false;
                    }
                } else if (!this$covertTime.equals(other$covertTime)) {
                    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 TransferDirectoryFile;
    }
 
    public int hashCode() {
        Object $transferDirectoryId = getTransferDirectoryId();
        int result = (1 * 59) + ($transferDirectoryId == null ? 43 : $transferDirectoryId.hashCode());
        Object $workstationId = getWorkstationId();
        int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $fileType = getFileType();
        int result3 = (result2 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
        Object $fileSource = getFileSource();
        int result4 = (result3 * 59) + ($fileSource == null ? 43 : $fileSource.hashCode());
        Object $contentLength = getContentLength();
        int result5 = (result4 * 59) + ($contentLength == null ? 43 : $contentLength.hashCode());
        Object $isCurrent = getIsCurrent();
        int result6 = (result5 * 59) + ($isCurrent == null ? 43 : $isCurrent.hashCode());
        Object $craftFileId = getCraftFileId();
        int result7 = (result6 * 59) + ($craftFileId == null ? 43 : $craftFileId.hashCode());
        Object $version = getVersion();
        int result8 = (result7 * 59) + ($version == null ? 43 : $version.hashCode());
        Object $storageSpace = getStorageSpace();
        int result9 = (result8 * 59) + ($storageSpace == null ? 43 : $storageSpace.hashCode());
        Object $whetherArchive = getWhetherArchive();
        int result10 = (result9 * 59) + ($whetherArchive == null ? 43 : $whetherArchive.hashCode());
        Object $storageSpaceId = getStorageSpaceId();
        int result11 = (result10 * 59) + ($storageSpaceId == null ? 43 : $storageSpaceId.hashCode());
        Object $filename = getFilename();
        int result12 = (result11 * 59) + ($filename == null ? 43 : $filename.hashCode());
        Object $originalFilename = getOriginalFilename();
        int result13 = (result12 * 59) + ($originalFilename == null ? 43 : $originalFilename.hashCode());
        Object $contentMd5 = getContentMd5();
        int result14 = (result13 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode());
        Object $lastModified = getLastModified();
        int result15 = (result14 * 59) + ($lastModified == null ? 43 : $lastModified.hashCode());
        Object $contentType = getContentType();
        int result16 = (result15 * 59) + ($contentType == null ? 43 : $contentType.hashCode());
        Object $objectKey = getObjectKey();
        int result17 = (result16 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
        Object $suffix = getSuffix();
        int result18 = (result17 * 59) + ($suffix == null ? 43 : $suffix.hashCode());
        Object $covertTime = getCovertTime();
        int result19 = (result18 * 59) + ($covertTime == null ? 43 : $covertTime.hashCode());
        Object $link = getLink();
        return (result19 * 59) + ($link == null ? 43 : $link.hashCode());
    }
 
    public static TransferDirectoryFileBuilder builder() {
        return new TransferDirectoryFileBuilder();
    }
 
    public Long getTransferDirectoryId() {
        return this.transferDirectoryId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public Integer getFileType() {
        return this.fileType;
    }
 
    public Integer getFileSource() {
        return this.fileSource;
    }
 
    public String getFilename() {
        return this.filename;
    }
 
    public String getOriginalFilename() {
        return this.originalFilename;
    }
 
    public String getContentMd5() {
        return this.contentMd5;
    }
 
    public Long getContentLength() {
        return this.contentLength;
    }
 
    public Date getLastModified() {
        return this.lastModified;
    }
 
    public String getContentType() {
        return this.contentType;
    }
 
    public String getObjectKey() {
        return this.objectKey;
    }
 
    public String getSuffix() {
        return this.suffix;
    }
 
    public Integer getIsCurrent() {
        return this.isCurrent;
    }
 
    public Date getCovertTime() {
        return this.covertTime;
    }
 
    public Long getCraftFileId() {
        return this.craftFileId;
    }
 
    public String getLink() {
        return this.link;
    }
 
    public Integer getVersion() {
        return this.version;
    }
 
    public Integer getStorageSpace() {
        return this.storageSpace;
    }
 
    public Integer getWhetherArchive() {
        return this.whetherArchive;
    }
 
    public Long getStorageSpaceId() {
        return this.storageSpaceId;
    }
}