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
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncWriteFileVO.class */
public class DncWriteFileVO implements Serializable {
    @ApiModelProperty("文件id")
    private String fileId;
    @NotBlank(message = "文件名称不能为空")
    @ApiModelProperty("文件名称")
    private String fileName;
    @NotBlank(message = "文件不能为空")
    @ApiModelProperty("文件链接")
    private String objectKey;
    @ApiModelProperty("文件来源 1 本地文件  2 我的文档  3 工艺管理 4 FTP/回传文件")
    private Integer fileSource;
 
    public void setFileId(final String fileId) {
        this.fileId = fileId;
    }
 
    public void setFileName(final String fileName) {
        this.fileName = fileName;
    }
 
    public void setObjectKey(final String objectKey) {
        this.objectKey = objectKey;
    }
 
    public void setFileSource(final Integer fileSource) {
        this.fileSource = fileSource;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DncWriteFileVO) {
            DncWriteFileVO other = (DncWriteFileVO) o;
            if (other.canEqual(this)) {
                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$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$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();
                return this$objectKey == null ? other$objectKey == null : this$objectKey.equals(other$objectKey);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DncWriteFileVO;
    }
 
    public int hashCode() {
        Object $fileSource = getFileSource();
        int result = (1 * 59) + ($fileSource == null ? 43 : $fileSource.hashCode());
        Object $fileId = getFileId();
        int result2 = (result * 59) + ($fileId == null ? 43 : $fileId.hashCode());
        Object $fileName = getFileName();
        int result3 = (result2 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
        Object $objectKey = getObjectKey();
        return (result3 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
    }
 
    public String toString() {
        return "DncWriteFileVO(fileId=" + getFileId() + ", fileName=" + getFileName() + ", objectKey=" + getObjectKey() + ", fileSource=" + getFileSource() + ")";
    }
 
    public String getFileId() {
        return this.fileId;
    }
 
    public String getFileName() {
        return this.fileName;
    }
 
    public String getObjectKey() {
        return this.objectKey;
    }
 
    public Integer getFileSource() {
        return this.fileSource;
    }
}