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
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/ArtFileAddVO.class */
public class ArtFileAddVO implements Serializable {
    @NotBlank(message = "dnc.art.bag.file.name.can.not.be.empty")
    @ApiModelProperty("文件名称")
    private String filename;
    @NotNull(message = "dnc.art.bag.file.type.can.not.be.empty")
    @ApiModelProperty("文件类别(1:程序,2 文档)")
    private Integer fileType;
    @ApiModelProperty("objectKey")
    private String objectKey;
    @ApiModelProperty("文件md5值")
    private String contentMd5;
 
    public void setFilename(final String filename) {
        this.filename = filename;
    }
 
    public void setFileType(final Integer fileType) {
        this.fileType = fileType;
    }
 
    public void setObjectKey(final String objectKey) {
        this.objectKey = objectKey;
    }
 
    public void setContentMd5(final String contentMd5) {
        this.contentMd5 = contentMd5;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ArtFileAddVO) {
            ArtFileAddVO other = (ArtFileAddVO) o;
            if (other.canEqual(this)) {
                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$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$contentMd5 = getContentMd5();
                Object other$contentMd5 = other.getContentMd5();
                return this$contentMd5 == null ? other$contentMd5 == null : this$contentMd5.equals(other$contentMd5);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ArtFileAddVO;
    }
 
    public int hashCode() {
        Object $fileType = getFileType();
        int result = (1 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
        Object $filename = getFilename();
        int result2 = (result * 59) + ($filename == null ? 43 : $filename.hashCode());
        Object $objectKey = getObjectKey();
        int result3 = (result2 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
        Object $contentMd5 = getContentMd5();
        return (result3 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode());
    }
 
    public String toString() {
        return "ArtFileAddVO(filename=" + getFilename() + ", fileType=" + getFileType() + ", objectKey=" + getObjectKey() + ", contentMd5=" + getContentMd5() + ")";
    }
 
    public String getFilename() {
        return this.filename;
    }
 
    public Integer getFileType() {
        return this.fileType;
    }
 
    public String getObjectKey() {
        return this.objectKey;
    }
 
    public String getContentMd5() {
        return this.contentMd5;
    }
}