package com.qianwen.smartman.modules.resource.vo;
|
|
import io.swagger.annotations.ApiModel;
|
|
@ApiModel(value = "OssFileVO", description = "对象存储基本信息表")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/resource/vo/OssFileVO.class */
|
public class OssFileVO {
|
private static final long serialVersionUID = 1;
|
private String putTimeStr;
|
private String oriFileName;
|
private long length;
|
private String link;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/resource/vo/OssFileVO$OssFileVOBuilder.class */
|
public static class OssFileVOBuilder {
|
private String putTimeStr;
|
private String oriFileName;
|
private long length;
|
private String link;
|
|
OssFileVOBuilder() {
|
}
|
|
public OssFileVOBuilder putTimeStr(final String putTimeStr) {
|
this.putTimeStr = putTimeStr;
|
return this;
|
}
|
|
public OssFileVOBuilder oriFileName(final String oriFileName) {
|
this.oriFileName = oriFileName;
|
return this;
|
}
|
|
public OssFileVOBuilder length(final long length) {
|
this.length = length;
|
return this;
|
}
|
|
public OssFileVOBuilder link(final String link) {
|
this.link = link;
|
return this;
|
}
|
|
public OssFileVO build() {
|
return new OssFileVO(this.putTimeStr, this.oriFileName, this.length, this.link);
|
}
|
|
public String toString() {
|
return "OssFileVO.OssFileVOBuilder(putTimeStr=" + this.putTimeStr + ", oriFileName=" + this.oriFileName + ", length=" + this.length + ", link=" + this.link + ")";
|
}
|
}
|
|
public void setPutTimeStr(final String putTimeStr) {
|
this.putTimeStr = putTimeStr;
|
}
|
|
public void setOriFileName(final String oriFileName) {
|
this.oriFileName = oriFileName;
|
}
|
|
public void setLength(final long length) {
|
this.length = length;
|
}
|
|
public void setLink(final String link) {
|
this.link = link;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OssFileVO) {
|
OssFileVO other = (OssFileVO) o;
|
if (other.canEqual(this) && getLength() == other.getLength()) {
|
Object this$putTimeStr = getPutTimeStr();
|
Object other$putTimeStr = other.getPutTimeStr();
|
if (this$putTimeStr == null) {
|
if (other$putTimeStr != null) {
|
return false;
|
}
|
} else if (!this$putTimeStr.equals(other$putTimeStr)) {
|
return false;
|
}
|
Object this$oriFileName = getOriFileName();
|
Object other$oriFileName = other.getOriFileName();
|
if (this$oriFileName == null) {
|
if (other$oriFileName != null) {
|
return false;
|
}
|
} else if (!this$oriFileName.equals(other$oriFileName)) {
|
return false;
|
}
|
Object this$link = getLink();
|
Object other$link = other.getLink();
|
return this$link == null ? other$link == null : this$link.equals(other$link);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OssFileVO;
|
}
|
|
public int hashCode() {
|
long $length = getLength();
|
int result = (1 * 59) + ((int) (($length >>> 32) ^ $length));
|
Object $putTimeStr = getPutTimeStr();
|
int result2 = (result * 59) + ($putTimeStr == null ? 43 : $putTimeStr.hashCode());
|
Object $oriFileName = getOriFileName();
|
int result3 = (result2 * 59) + ($oriFileName == null ? 43 : $oriFileName.hashCode());
|
Object $link = getLink();
|
return (result3 * 59) + ($link == null ? 43 : $link.hashCode());
|
}
|
|
public String toString() {
|
return "OssFileVO(putTimeStr=" + getPutTimeStr() + ", oriFileName=" + getOriFileName() + ", length=" + getLength() + ", link=" + getLink() + ")";
|
}
|
|
OssFileVO(final String putTimeStr, final String oriFileName, final long length, final String link) {
|
this.putTimeStr = putTimeStr;
|
this.oriFileName = oriFileName;
|
this.length = length;
|
this.link = link;
|
}
|
|
public static OssFileVOBuilder builder() {
|
return new OssFileVOBuilder();
|
}
|
|
public String getPutTimeStr() {
|
return this.putTimeStr;
|
}
|
|
public String getOriFileName() {
|
return this.oriFileName;
|
}
|
|
public long getLength() {
|
return this.length;
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
}
|