yangys
2024-04-01 86cdd920b68274185233383f69ddb974052b6b6f
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
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
 
@ApiModel(value = "GalleryItemVo对象", description = "图库")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/GalleryItemVO.class */
public class GalleryItemVO implements Serializable {
    @NotBlank(message = "图库名称不能为空")
    @ApiModelProperty("名称")
    @Size(max = 64, message = "名称长度不能超过64")
    private String name;
    @ApiModelProperty("图库ID")
    private Long galleryId;
    @ApiModelProperty("文件原名")
    @Size(max = 500, message = "文件原名长度不能超过500")
    private String originalName;
    @ApiModelProperty("缩略图,base64存储")
    @Size(max = 65535, message = "缩略图,base64存储长度不能超过65535")
    private String thumbnail;
    @ApiModelProperty("文件地址")
    @Size(max = 1000, message = "文件地址长度不能超过1000")
    private String link;
    @ApiModelProperty("附件拓展名")
    @Size(max = 12, message = "附件拓展名长度不能超过12")
    private String extension;
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("数据状态,1启用/0停用")
    private Integer status;
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setGalleryId(final Long galleryId) {
        this.galleryId = galleryId;
    }
 
    public void setOriginalName(final String originalName) {
        this.originalName = originalName;
    }
 
    public void setThumbnail(final String thumbnail) {
        this.thumbnail = thumbnail;
    }
 
    public void setLink(final String link) {
        this.link = link;
    }
 
    public void setExtension(final String extension) {
        this.extension = extension;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof GalleryItemVO) {
            GalleryItemVO other = (GalleryItemVO) o;
            if (other.canEqual(this)) {
                Object this$galleryId = getGalleryId();
                Object other$galleryId = other.getGalleryId();
                if (this$galleryId == null) {
                    if (other$galleryId != null) {
                        return false;
                    }
                } else if (!this$galleryId.equals(other$galleryId)) {
                    return false;
                }
                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$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    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$originalName = getOriginalName();
                Object other$originalName = other.getOriginalName();
                if (this$originalName == null) {
                    if (other$originalName != null) {
                        return false;
                    }
                } else if (!this$originalName.equals(other$originalName)) {
                    return false;
                }
                Object this$thumbnail = getThumbnail();
                Object other$thumbnail = other.getThumbnail();
                if (this$thumbnail == null) {
                    if (other$thumbnail != null) {
                        return false;
                    }
                } else if (!this$thumbnail.equals(other$thumbnail)) {
                    return false;
                }
                Object this$link = getLink();
                Object other$link = other.getLink();
                if (this$link == null) {
                    if (other$link != null) {
                        return false;
                    }
                } else if (!this$link.equals(other$link)) {
                    return false;
                }
                Object this$extension = getExtension();
                Object other$extension = other.getExtension();
                return this$extension == null ? other$extension == null : this$extension.equals(other$extension);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof GalleryItemVO;
    }
 
    public int hashCode() {
        Object $galleryId = getGalleryId();
        int result = (1 * 59) + ($galleryId == null ? 43 : $galleryId.hashCode());
        Object $id = getId();
        int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
        Object $status = getStatus();
        int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $name = getName();
        int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $originalName = getOriginalName();
        int result5 = (result4 * 59) + ($originalName == null ? 43 : $originalName.hashCode());
        Object $thumbnail = getThumbnail();
        int result6 = (result5 * 59) + ($thumbnail == null ? 43 : $thumbnail.hashCode());
        Object $link = getLink();
        int result7 = (result6 * 59) + ($link == null ? 43 : $link.hashCode());
        Object $extension = getExtension();
        return (result7 * 59) + ($extension == null ? 43 : $extension.hashCode());
    }
 
    public String toString() {
        return "GalleryItemVO(name=" + getName() + ", galleryId=" + getGalleryId() + ", originalName=" + getOriginalName() + ", thumbnail=" + getThumbnail() + ", link=" + getLink() + ", extension=" + getExtension() + ", id=" + getId() + ", status=" + getStatus() + ")";
    }
 
    public String getName() {
        return this.name;
    }
 
    public Long getGalleryId() {
        return this.galleryId;
    }
 
    public String getOriginalName() {
        return this.originalName;
    }
 
    public String getThumbnail() {
        return this.thumbnail;
    }
 
    public String getLink() {
        return this.link;
    }
 
    public String getExtension() {
        return this.extension;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Integer getStatus() {
        return this.status;
    }
}