package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncWriteFileVO.class */
|
public class DncWriteFileVO implements Serializable {
|
@ApiModelProperty("文件id")
|
private String fileId;
|
@NotBlank(message = "文件名称不能为空")
|
@ApiModelProperty("文件名称")
|
private String fileName;
|
@NotBlank(message = "文件不能为空")
|
@ApiModelProperty("文件链接")
|
private String objectKey;
|
@ApiModelProperty("文件来源 1 本地文件 2 我的文档 3 工艺管理 4 FTP/回传文件")
|
private Integer fileSource;
|
|
public void setFileId(final String fileId) {
|
this.fileId = fileId;
|
}
|
|
public void setFileName(final String fileName) {
|
this.fileName = fileName;
|
}
|
|
public void setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
}
|
|
public void setFileSource(final Integer fileSource) {
|
this.fileSource = fileSource;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DncWriteFileVO) {
|
DncWriteFileVO other = (DncWriteFileVO) o;
|
if (other.canEqual(this)) {
|
Object this$fileSource = getFileSource();
|
Object other$fileSource = other.getFileSource();
|
if (this$fileSource == null) {
|
if (other$fileSource != null) {
|
return false;
|
}
|
} else if (!this$fileSource.equals(other$fileSource)) {
|
return false;
|
}
|
Object this$fileId = getFileId();
|
Object other$fileId = other.getFileId();
|
if (this$fileId == null) {
|
if (other$fileId != null) {
|
return false;
|
}
|
} else if (!this$fileId.equals(other$fileId)) {
|
return false;
|
}
|
Object this$fileName = getFileName();
|
Object other$fileName = other.getFileName();
|
if (this$fileName == null) {
|
if (other$fileName != null) {
|
return false;
|
}
|
} else if (!this$fileName.equals(other$fileName)) {
|
return false;
|
}
|
Object this$objectKey = getObjectKey();
|
Object other$objectKey = other.getObjectKey();
|
return this$objectKey == null ? other$objectKey == null : this$objectKey.equals(other$objectKey);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DncWriteFileVO;
|
}
|
|
public int hashCode() {
|
Object $fileSource = getFileSource();
|
int result = (1 * 59) + ($fileSource == null ? 43 : $fileSource.hashCode());
|
Object $fileId = getFileId();
|
int result2 = (result * 59) + ($fileId == null ? 43 : $fileId.hashCode());
|
Object $fileName = getFileName();
|
int result3 = (result2 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
|
Object $objectKey = getObjectKey();
|
return (result3 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
}
|
|
public String toString() {
|
return "DncWriteFileVO(fileId=" + getFileId() + ", fileName=" + getFileName() + ", objectKey=" + getObjectKey() + ", fileSource=" + getFileSource() + ")";
|
}
|
|
public String getFileId() {
|
return this.fileId;
|
}
|
|
public String getFileName() {
|
return this.fileName;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public Integer getFileSource() {
|
return this.fileSource;
|
}
|
}
|