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;
|
}
|
}
|