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
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.qianwen.core.oss.model.OssFile;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/UploadFileOssVO.class */
public class UploadFileOssVO implements Serializable {
    private static final long serialVersionUID = 1;
    private Long id;
    @NotNull
    private OssFile ossFile;
    @ApiModelProperty("文件名称")
    @Size(max = 100, message = "文件名称长度不能超过100")
    private String name;
    @ApiModelProperty("文件夹id")
    private Long targetId;
    @ApiModelProperty("文件类型")
    private Integer fileType;
    @ApiModelProperty("资源id")
    private Long sourceId;
    @ApiModelProperty("全路径名称")
    private String allPathName;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/UploadFileOssVO$UploadFileOssVOBuilder.class */
    public static class UploadFileOssVOBuilder {
        private Long id;
        private OssFile ossFile;
        private String name;
        private Long targetId;
        private Integer fileType;
        private Long sourceId;
        private String allPathName;
 
        UploadFileOssVOBuilder() {
        }
 
        public UploadFileOssVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public UploadFileOssVOBuilder ossFile(final OssFile ossFile) {
            this.ossFile = ossFile;
            return this;
        }
 
        public UploadFileOssVOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public UploadFileOssVOBuilder targetId(final Long targetId) {
            this.targetId = targetId;
            return this;
        }
 
        public UploadFileOssVOBuilder fileType(final Integer fileType) {
            this.fileType = fileType;
            return this;
        }
 
        public UploadFileOssVOBuilder sourceId(final Long sourceId) {
            this.sourceId = sourceId;
            return this;
        }
 
        public UploadFileOssVOBuilder allPathName(final String allPathName) {
            this.allPathName = allPathName;
            return this;
        }
 
        public UploadFileOssVO build() {
            return new UploadFileOssVO(this.id, this.ossFile, this.name, this.targetId, this.fileType, this.sourceId, this.allPathName);
        }
 
        public String toString() {
            return "UploadFileOssVO.UploadFileOssVOBuilder(id=" + this.id + ", ossFile=" + this.ossFile + ", name=" + this.name + ", targetId=" + this.targetId + ", fileType=" + this.fileType + ", sourceId=" + this.sourceId + ", allPathName=" + this.allPathName + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setOssFile(final OssFile ossFile) {
        this.ossFile = ossFile;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setTargetId(final Long targetId) {
        this.targetId = targetId;
    }
 
    public void setFileType(final Integer fileType) {
        this.fileType = fileType;
    }
 
    public void setSourceId(final Long sourceId) {
        this.sourceId = sourceId;
    }
 
    public void setAllPathName(final String allPathName) {
        this.allPathName = allPathName;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof UploadFileOssVO) {
            UploadFileOssVO other = (UploadFileOssVO) 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$targetId = getTargetId();
                Object other$targetId = other.getTargetId();
                if (this$targetId == null) {
                    if (other$targetId != null) {
                        return false;
                    }
                } else if (!this$targetId.equals(other$targetId)) {
                    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$sourceId = getSourceId();
                Object other$sourceId = other.getSourceId();
                if (this$sourceId == null) {
                    if (other$sourceId != null) {
                        return false;
                    }
                } else if (!this$sourceId.equals(other$sourceId)) {
                    return false;
                }
                Object this$ossFile = getOssFile();
                Object other$ossFile = other.getOssFile();
                if (this$ossFile == null) {
                    if (other$ossFile != null) {
                        return false;
                    }
                } else if (!this$ossFile.equals(other$ossFile)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$allPathName = getAllPathName();
                Object other$allPathName = other.getAllPathName();
                return this$allPathName == null ? other$allPathName == null : this$allPathName.equals(other$allPathName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof UploadFileOssVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $targetId = getTargetId();
        int result2 = (result * 59) + ($targetId == null ? 43 : $targetId.hashCode());
        Object $fileType = getFileType();
        int result3 = (result2 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
        Object $sourceId = getSourceId();
        int result4 = (result3 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
        Object $ossFile = getOssFile();
        int result5 = (result4 * 59) + ($ossFile == null ? 43 : $ossFile.hashCode());
        Object $name = getName();
        int result6 = (result5 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $allPathName = getAllPathName();
        return (result6 * 59) + ($allPathName == null ? 43 : $allPathName.hashCode());
    }
 
    public String toString() {
        return "UploadFileOssVO(id=" + getId() + ", ossFile=" + getOssFile() + ", name=" + getName() + ", targetId=" + getTargetId() + ", fileType=" + getFileType() + ", sourceId=" + getSourceId() + ", allPathName=" + getAllPathName() + ")";
    }
 
    public static UploadFileOssVOBuilder builder() {
        return new UploadFileOssVOBuilder();
    }
 
    public UploadFileOssVO() {
    }
 
    public UploadFileOssVO(final Long id, final OssFile ossFile, final String name, final Long targetId, final Integer fileType, final Long sourceId, final String allPathName) {
        this.id = id;
        this.ossFile = ossFile;
        this.name = name;
        this.targetId = targetId;
        this.fileType = fileType;
        this.sourceId = sourceId;
        this.allPathName = allPathName;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public OssFile getOssFile() {
        return this.ossFile;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Long getTargetId() {
        return this.targetId;
    }
 
    public Integer getFileType() {
        return this.fileType;
    }
 
    public Long getSourceId() {
        return this.sourceId;
    }
 
    public String getAllPathName() {
        return this.allPathName;
    }
}