package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/ArtFileAddVO.class */
|
public class ArtFileAddVO implements Serializable {
|
@NotBlank(message = "dnc.art.bag.file.name.can.not.be.empty")
|
@ApiModelProperty("文件名称")
|
private String filename;
|
@NotNull(message = "dnc.art.bag.file.type.can.not.be.empty")
|
@ApiModelProperty("文件类别(1:程序,2 文档)")
|
private Integer fileType;
|
@ApiModelProperty("objectKey")
|
private String objectKey;
|
@ApiModelProperty("文件md5值")
|
private String contentMd5;
|
|
public void setFilename(final String filename) {
|
this.filename = filename;
|
}
|
|
public void setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
public void setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
}
|
|
public void setContentMd5(final String contentMd5) {
|
this.contentMd5 = contentMd5;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ArtFileAddVO) {
|
ArtFileAddVO other = (ArtFileAddVO) o;
|
if (other.canEqual(this)) {
|
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$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();
|
if (this$objectKey == null) {
|
if (other$objectKey != null) {
|
return false;
|
}
|
} else if (!this$objectKey.equals(other$objectKey)) {
|
return false;
|
}
|
Object this$contentMd5 = getContentMd5();
|
Object other$contentMd5 = other.getContentMd5();
|
return this$contentMd5 == null ? other$contentMd5 == null : this$contentMd5.equals(other$contentMd5);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ArtFileAddVO;
|
}
|
|
public int hashCode() {
|
Object $fileType = getFileType();
|
int result = (1 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
|
Object $filename = getFilename();
|
int result2 = (result * 59) + ($filename == null ? 43 : $filename.hashCode());
|
Object $objectKey = getObjectKey();
|
int result3 = (result2 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $contentMd5 = getContentMd5();
|
return (result3 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode());
|
}
|
|
public String toString() {
|
return "ArtFileAddVO(filename=" + getFilename() + ", fileType=" + getFileType() + ", objectKey=" + getObjectKey() + ", contentMd5=" + getContentMd5() + ")";
|
}
|
|
public String getFilename() {
|
return this.filename;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public String getContentMd5() {
|
return this.contentMd5;
|
}
|
}
|