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