//
|
// Source code recreated from a .class file by IntelliJ IDEA
|
// (powered by FernFlower decompiler)
|
//
|
|
package org.jeecg.modules.doc.vo;
|
|
|
import org.jeecg.modules.doc.enums.UploadFileStatusEnum;
|
|
import java.awt.image.BufferedImage;
|
|
public class UploadFileResult {
|
private String fileName;
|
private String extendName;
|
private long fileSize;
|
private String fileUrl;
|
private String identifier;
|
private UploadFileStatusEnum status;
|
private BufferedImage bufferedImage;
|
|
public UploadFileResult() {
|
}
|
|
public String getFileName() {
|
return this.fileName;
|
}
|
|
public String getExtendName() {
|
return this.extendName;
|
}
|
|
public long getFileSize() {
|
return this.fileSize;
|
}
|
|
public String getFileUrl() {
|
return this.fileUrl;
|
}
|
|
public String getIdentifier() {
|
return this.identifier;
|
}
|
|
|
|
public UploadFileStatusEnum getStatus() {
|
return this.status;
|
}
|
|
public BufferedImage getBufferedImage() {
|
return this.bufferedImage;
|
}
|
|
public void setFileName(final String fileName) {
|
this.fileName = fileName;
|
}
|
|
public void setExtendName(final String extendName) {
|
this.extendName = extendName;
|
}
|
|
public void setFileSize(final long fileSize) {
|
this.fileSize = fileSize;
|
}
|
|
public void setFileUrl(final String fileUrl) {
|
this.fileUrl = fileUrl;
|
}
|
|
public void setIdentifier(final String identifier) {
|
this.identifier = identifier;
|
}
|
|
|
|
public void setStatus(final UploadFileStatusEnum status) {
|
this.status = status;
|
}
|
|
public void setBufferedImage(final BufferedImage bufferedImage) {
|
this.bufferedImage = bufferedImage;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
} else if (!(o instanceof UploadFileResult)) {
|
return false;
|
} else {
|
UploadFileResult other = (UploadFileResult)o;
|
if (!other.canEqual(this)) {
|
return false;
|
} else if (this.getFileSize() != other.getFileSize()) {
|
return false;
|
} else {
|
label97: {
|
Object this$fileName = this.getFileName();
|
Object other$fileName = other.getFileName();
|
if (this$fileName == null) {
|
if (other$fileName == null) {
|
break label97;
|
}
|
} else if (this$fileName.equals(other$fileName)) {
|
break label97;
|
}
|
|
return false;
|
}
|
|
Object this$extendName = this.getExtendName();
|
Object other$extendName = other.getExtendName();
|
if (this$extendName == null) {
|
if (other$extendName != null) {
|
return false;
|
}
|
} else if (!this$extendName.equals(other$extendName)) {
|
return false;
|
}
|
|
Object this$fileUrl = this.getFileUrl();
|
Object other$fileUrl = other.getFileUrl();
|
if (this$fileUrl == null) {
|
if (other$fileUrl != null) {
|
return false;
|
}
|
} else if (!this$fileUrl.equals(other$fileUrl)) {
|
return false;
|
}
|
|
label76: {
|
Object this$identifier = this.getIdentifier();
|
Object other$identifier = other.getIdentifier();
|
if (this$identifier == null) {
|
if (other$identifier == null) {
|
break label76;
|
}
|
} else if (this$identifier.equals(other$identifier)) {
|
break label76;
|
}
|
|
return false;
|
}
|
|
Object this$status = this.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$bufferedImage = this.getBufferedImage();
|
Object other$bufferedImage = other.getBufferedImage();
|
if (this$bufferedImage == null) {
|
if (other$bufferedImage != null) {
|
return false;
|
}
|
} else if (!this$bufferedImage.equals(other$bufferedImage)) {
|
return false;
|
}
|
|
return true;
|
}
|
}
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UploadFileResult;
|
}
|
|
public int hashCode() {
|
boolean PRIME = true;
|
int result = 1;
|
long $fileSize = this.getFileSize();
|
result = result * 59 + (int)($fileSize >>> 32 ^ $fileSize);
|
Object $fileName = this.getFileName();
|
result = result * 59 + ($fileName == null ? 43 : $fileName.hashCode());
|
Object $extendName = this.getExtendName();
|
result = result * 59 + ($extendName == null ? 43 : $extendName.hashCode());
|
Object $fileUrl = this.getFileUrl();
|
result = result * 59 + ($fileUrl == null ? 43 : $fileUrl.hashCode());
|
Object $identifier = this.getIdentifier();
|
result = result * 59 + ($identifier == null ? 43 : $identifier.hashCode());
|
|
Object $status = this.getStatus();
|
result = result * 59 + ($status == null ? 43 : $status.hashCode());
|
Object $bufferedImage = this.getBufferedImage();
|
result = result * 59 + ($bufferedImage == null ? 43 : $bufferedImage.hashCode());
|
return result;
|
}
|
|
public String toString() {
|
return "UploadFileResult(fileName=" + this.getFileName() + ", extendName=" + this.getExtendName() + ", fileSize=" + this.getFileSize() + ", fileUrl=" + this.getFileUrl() + ", identifier=" + this.getIdentifier() + ",status=" + this.getStatus() + ", bufferedImage=" + this.getBufferedImage() + ")";
|
}
|
}
|