package com.qianwen.smartman.modules.dnc.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/FileVO.class */
|
public class FileVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "主键Id", dataType = "java.lang.String")
|
private Long id;
|
private String name;
|
@ApiModelProperty(value = "文件大小", dataType = "java.lang.String")
|
private Long contentLength;
|
private String contentType;
|
private String suffix;
|
private Integer fileType;
|
private String objectKey;
|
private String allPathName;
|
private String contentMd5;
|
private String link;
|
private String version;
|
private String versionDesc;
|
@ApiModelProperty(value = "父级id", dataType = "java.lang.String")
|
private Long parentId;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("创建时间")
|
private Date createTime;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("更新时间")
|
private Date updateTime;
|
@ApiModelProperty("创建人ID")
|
private String createUser;
|
@ApiModelProperty("更新人ID")
|
private String updateUser;
|
@ApiModelProperty("创建人名称")
|
private String createUserName;
|
@ApiModelProperty("更新人名称")
|
private String updateUserName;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/FileVO$FileVOBuilder.class */
|
public static class FileVOBuilder {
|
private Long id;
|
private String name;
|
private Long contentLength;
|
private String contentType;
|
private String suffix;
|
private Integer fileType;
|
private String objectKey;
|
private String allPathName;
|
private String contentMd5;
|
private String link;
|
private String version;
|
private String versionDesc;
|
private Long parentId;
|
private Date createTime;
|
private Date updateTime;
|
private String createUser;
|
private String updateUser;
|
private String createUserName;
|
private String updateUserName;
|
|
FileVOBuilder() {
|
}
|
|
public FileVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public FileVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public FileVOBuilder contentLength(final Long contentLength) {
|
this.contentLength = contentLength;
|
return this;
|
}
|
|
public FileVOBuilder contentType(final String contentType) {
|
this.contentType = contentType;
|
return this;
|
}
|
|
public FileVOBuilder suffix(final String suffix) {
|
this.suffix = suffix;
|
return this;
|
}
|
|
public FileVOBuilder fileType(final Integer fileType) {
|
this.fileType = fileType;
|
return this;
|
}
|
|
public FileVOBuilder objectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
return this;
|
}
|
|
public FileVOBuilder allPathName(final String allPathName) {
|
this.allPathName = allPathName;
|
return this;
|
}
|
|
public FileVOBuilder contentMd5(final String contentMd5) {
|
this.contentMd5 = contentMd5;
|
return this;
|
}
|
|
public FileVOBuilder link(final String link) {
|
this.link = link;
|
return this;
|
}
|
|
public FileVOBuilder version(final String version) {
|
this.version = version;
|
return this;
|
}
|
|
public FileVOBuilder versionDesc(final String versionDesc) {
|
this.versionDesc = versionDesc;
|
return this;
|
}
|
|
public FileVOBuilder parentId(final Long parentId) {
|
this.parentId = parentId;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public FileVOBuilder createTime(final Date createTime) {
|
this.createTime = createTime;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public FileVOBuilder updateTime(final Date updateTime) {
|
this.updateTime = updateTime;
|
return this;
|
}
|
|
public FileVOBuilder createUser(final String createUser) {
|
this.createUser = createUser;
|
return this;
|
}
|
|
public FileVOBuilder updateUser(final String updateUser) {
|
this.updateUser = updateUser;
|
return this;
|
}
|
|
public FileVOBuilder createUserName(final String createUserName) {
|
this.createUserName = createUserName;
|
return this;
|
}
|
|
public FileVOBuilder updateUserName(final String updateUserName) {
|
this.updateUserName = updateUserName;
|
return this;
|
}
|
|
public FileVO build() {
|
return new FileVO(this.id, this.name, this.contentLength, this.contentType, this.suffix, this.fileType, this.objectKey, this.allPathName, this.contentMd5, this.link, this.version, this.versionDesc, this.parentId, this.createTime, this.updateTime, this.createUser, this.updateUser, this.createUserName, this.updateUserName);
|
}
|
|
public String toString() {
|
return "FileVO.FileVOBuilder(id=" + this.id + ", name=" + this.name + ", contentLength=" + this.contentLength + ", contentType=" + this.contentType + ", suffix=" + this.suffix + ", fileType=" + this.fileType + ", objectKey=" + this.objectKey + ", allPathName=" + this.allPathName + ", contentMd5=" + this.contentMd5 + ", link=" + this.link + ", version=" + this.version + ", versionDesc=" + this.versionDesc + ", parentId=" + this.parentId + ", createTime=" + this.createTime + ", updateTime=" + this.updateTime + ", createUser=" + this.createUser + ", updateUser=" + this.updateUser + ", createUserName=" + this.createUserName + ", updateUserName=" + this.updateUserName + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setContentLength(final Long contentLength) {
|
this.contentLength = contentLength;
|
}
|
|
public void setContentType(final String contentType) {
|
this.contentType = contentType;
|
}
|
|
public void setSuffix(final String suffix) {
|
this.suffix = suffix;
|
}
|
|
public void setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
public void setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
}
|
|
public void setAllPathName(final String allPathName) {
|
this.allPathName = allPathName;
|
}
|
|
public void setContentMd5(final String contentMd5) {
|
this.contentMd5 = contentMd5;
|
}
|
|
public void setLink(final String link) {
|
this.link = link;
|
}
|
|
public void setVersion(final String version) {
|
this.version = version;
|
}
|
|
public void setVersionDesc(final String versionDesc) {
|
this.versionDesc = versionDesc;
|
}
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setCreateTime(final Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setUpdateTime(final Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public void setCreateUser(final String createUser) {
|
this.createUser = createUser;
|
}
|
|
public void setUpdateUser(final String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public void setCreateUserName(final String createUserName) {
|
this.createUserName = createUserName;
|
}
|
|
public void setUpdateUserName(final String updateUserName) {
|
this.updateUserName = updateUserName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FileVO) {
|
FileVO other = (FileVO) 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$contentLength = getContentLength();
|
Object other$contentLength = other.getContentLength();
|
if (this$contentLength == null) {
|
if (other$contentLength != null) {
|
return false;
|
}
|
} else if (!this$contentLength.equals(other$contentLength)) {
|
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$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
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$contentType = getContentType();
|
Object other$contentType = other.getContentType();
|
if (this$contentType == null) {
|
if (other$contentType != null) {
|
return false;
|
}
|
} else if (!this$contentType.equals(other$contentType)) {
|
return false;
|
}
|
Object this$suffix = getSuffix();
|
Object other$suffix = other.getSuffix();
|
if (this$suffix == null) {
|
if (other$suffix != null) {
|
return false;
|
}
|
} else if (!this$suffix.equals(other$suffix)) {
|
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$allPathName = getAllPathName();
|
Object other$allPathName = other.getAllPathName();
|
if (this$allPathName == null) {
|
if (other$allPathName != null) {
|
return false;
|
}
|
} else if (!this$allPathName.equals(other$allPathName)) {
|
return false;
|
}
|
Object this$contentMd5 = getContentMd5();
|
Object other$contentMd5 = other.getContentMd5();
|
if (this$contentMd5 == null) {
|
if (other$contentMd5 != null) {
|
return false;
|
}
|
} else if (!this$contentMd5.equals(other$contentMd5)) {
|
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$version = getVersion();
|
Object other$version = other.getVersion();
|
if (this$version == null) {
|
if (other$version != null) {
|
return false;
|
}
|
} else if (!this$version.equals(other$version)) {
|
return false;
|
}
|
Object this$versionDesc = getVersionDesc();
|
Object other$versionDesc = other.getVersionDesc();
|
if (this$versionDesc == null) {
|
if (other$versionDesc != null) {
|
return false;
|
}
|
} else if (!this$versionDesc.equals(other$versionDesc)) {
|
return false;
|
}
|
Object this$createTime = getCreateTime();
|
Object other$createTime = other.getCreateTime();
|
if (this$createTime == null) {
|
if (other$createTime != null) {
|
return false;
|
}
|
} else if (!this$createTime.equals(other$createTime)) {
|
return false;
|
}
|
Object this$updateTime = getUpdateTime();
|
Object other$updateTime = other.getUpdateTime();
|
if (this$updateTime == null) {
|
if (other$updateTime != null) {
|
return false;
|
}
|
} else if (!this$updateTime.equals(other$updateTime)) {
|
return false;
|
}
|
Object this$createUser = getCreateUser();
|
Object other$createUser = other.getCreateUser();
|
if (this$createUser == null) {
|
if (other$createUser != null) {
|
return false;
|
}
|
} else if (!this$createUser.equals(other$createUser)) {
|
return false;
|
}
|
Object this$updateUser = getUpdateUser();
|
Object other$updateUser = other.getUpdateUser();
|
if (this$updateUser == null) {
|
if (other$updateUser != null) {
|
return false;
|
}
|
} else if (!this$updateUser.equals(other$updateUser)) {
|
return false;
|
}
|
Object this$createUserName = getCreateUserName();
|
Object other$createUserName = other.getCreateUserName();
|
if (this$createUserName == null) {
|
if (other$createUserName != null) {
|
return false;
|
}
|
} else if (!this$createUserName.equals(other$createUserName)) {
|
return false;
|
}
|
Object this$updateUserName = getUpdateUserName();
|
Object other$updateUserName = other.getUpdateUserName();
|
return this$updateUserName == null ? other$updateUserName == null : this$updateUserName.equals(other$updateUserName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FileVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $contentLength = getContentLength();
|
int result2 = (result * 59) + ($contentLength == null ? 43 : $contentLength.hashCode());
|
Object $fileType = getFileType();
|
int result3 = (result2 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
|
Object $parentId = getParentId();
|
int result4 = (result3 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $name = getName();
|
int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $contentType = getContentType();
|
int result6 = (result5 * 59) + ($contentType == null ? 43 : $contentType.hashCode());
|
Object $suffix = getSuffix();
|
int result7 = (result6 * 59) + ($suffix == null ? 43 : $suffix.hashCode());
|
Object $objectKey = getObjectKey();
|
int result8 = (result7 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $allPathName = getAllPathName();
|
int result9 = (result8 * 59) + ($allPathName == null ? 43 : $allPathName.hashCode());
|
Object $contentMd5 = getContentMd5();
|
int result10 = (result9 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode());
|
Object $link = getLink();
|
int result11 = (result10 * 59) + ($link == null ? 43 : $link.hashCode());
|
Object $version = getVersion();
|
int result12 = (result11 * 59) + ($version == null ? 43 : $version.hashCode());
|
Object $versionDesc = getVersionDesc();
|
int result13 = (result12 * 59) + ($versionDesc == null ? 43 : $versionDesc.hashCode());
|
Object $createTime = getCreateTime();
|
int result14 = (result13 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
|
Object $updateTime = getUpdateTime();
|
int result15 = (result14 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode());
|
Object $createUser = getCreateUser();
|
int result16 = (result15 * 59) + ($createUser == null ? 43 : $createUser.hashCode());
|
Object $updateUser = getUpdateUser();
|
int result17 = (result16 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode());
|
Object $createUserName = getCreateUserName();
|
int result18 = (result17 * 59) + ($createUserName == null ? 43 : $createUserName.hashCode());
|
Object $updateUserName = getUpdateUserName();
|
return (result18 * 59) + ($updateUserName == null ? 43 : $updateUserName.hashCode());
|
}
|
|
public String toString() {
|
return "FileVO(id=" + getId() + ", name=" + getName() + ", contentLength=" + getContentLength() + ", contentType=" + getContentType() + ", suffix=" + getSuffix() + ", fileType=" + getFileType() + ", objectKey=" + getObjectKey() + ", allPathName=" + getAllPathName() + ", contentMd5=" + getContentMd5() + ", link=" + getLink() + ", version=" + getVersion() + ", versionDesc=" + getVersionDesc() + ", parentId=" + getParentId() + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", createUser=" + getCreateUser() + ", updateUser=" + getUpdateUser() + ", createUserName=" + getCreateUserName() + ", updateUserName=" + getUpdateUserName() + ")";
|
}
|
|
public static FileVOBuilder builder() {
|
return new FileVOBuilder();
|
}
|
|
public FileVO() {
|
}
|
|
public FileVO(final Long id, final String name, final Long contentLength, final String contentType, final String suffix, final Integer fileType, final String objectKey, final String allPathName, final String contentMd5, final String link, final String version, final String versionDesc, final Long parentId, final Date createTime, final Date updateTime, final String createUser, final String updateUser, final String createUserName, final String updateUserName) {
|
this.id = id;
|
this.name = name;
|
this.contentLength = contentLength;
|
this.contentType = contentType;
|
this.suffix = suffix;
|
this.fileType = fileType;
|
this.objectKey = objectKey;
|
this.allPathName = allPathName;
|
this.contentMd5 = contentMd5;
|
this.link = link;
|
this.version = version;
|
this.versionDesc = versionDesc;
|
this.parentId = parentId;
|
this.createTime = createTime;
|
this.updateTime = updateTime;
|
this.createUser = createUser;
|
this.updateUser = updateUser;
|
this.createUserName = createUserName;
|
this.updateUserName = updateUserName;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Long getContentLength() {
|
return this.contentLength;
|
}
|
|
public String getContentType() {
|
return this.contentType;
|
}
|
|
public String getSuffix() {
|
return this.suffix;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public String getAllPathName() {
|
return this.allPathName;
|
}
|
|
public String getContentMd5() {
|
return this.contentMd5;
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
|
public String getVersion() {
|
return this.version;
|
}
|
|
public String getVersionDesc() {
|
return this.versionDesc;
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public Date getCreateTime() {
|
return this.createTime;
|
}
|
|
public Date getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public String getCreateUser() {
|
return this.createUser;
|
}
|
|
public String getUpdateUser() {
|
return this.updateUser;
|
}
|
|
public String getCreateUserName() {
|
return this.createUserName;
|
}
|
|
public String getUpdateUserName() {
|
return this.updateUserName;
|
}
|
}
|