package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Size;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncArchiveDirectoryFileAddVO.class */
|
public class DncArchiveDirectoryFileAddVO {
|
@ApiModelProperty("原始文件名称")
|
@Size(max = 100, message = "原始文件名称长度不能超过100")
|
private String originalFilename;
|
@ApiModelProperty("文件名称")
|
@Size(max = 100, message = "文件名称长度不能超过100")
|
private String filename;
|
private Long contentLength;
|
@ApiModelProperty("文件md5值")
|
@Size(max = 100, message = "文件md5值长度不能超过100")
|
private String contentMd5;
|
@ApiModelProperty("文件类型")
|
@Size(max = 100, message = "文件类型长度不能超过100")
|
private String contentType;
|
@ApiModelProperty("文件的objectKey")
|
@Size(max = 100, message = "文件的objectKey长度不能超过100")
|
private String objectKey;
|
@ApiModelProperty("文件后缀")
|
@Size(max = 50, message = "文件后缀长度不能超过50")
|
private String suffix;
|
@ApiModelProperty("文件链接")
|
private String link;
|
@NotNull(message = "工位文件id必传")
|
@ApiModelProperty("工位文件id")
|
private Long workstationFileId;
|
@NotNull(message = "工位id必传")
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@NotNull(message = "文件归属必传")
|
@ApiModelProperty("文件归属:1 工位 2 工厂")
|
private Integer fileOwnership;
|
|
public void setOriginalFilename(final String originalFilename) {
|
this.originalFilename = originalFilename;
|
}
|
|
public void setFilename(final String filename) {
|
this.filename = filename;
|
}
|
|
public void setContentLength(final Long contentLength) {
|
this.contentLength = contentLength;
|
}
|
|
public void setContentMd5(final String contentMd5) {
|
this.contentMd5 = contentMd5;
|
}
|
|
public void setContentType(final String contentType) {
|
this.contentType = contentType;
|
}
|
|
public void setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
}
|
|
public void setSuffix(final String suffix) {
|
this.suffix = suffix;
|
}
|
|
public void setLink(final String link) {
|
this.link = link;
|
}
|
|
public void setWorkstationFileId(final Long workstationFileId) {
|
this.workstationFileId = workstationFileId;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setFileOwnership(final Integer fileOwnership) {
|
this.fileOwnership = fileOwnership;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DncArchiveDirectoryFileAddVO) {
|
DncArchiveDirectoryFileAddVO other = (DncArchiveDirectoryFileAddVO) o;
|
if (other.canEqual(this)) {
|
Object this$contentLength = getContentLength();
|
Object other$contentLength = other.getContentLength();
|
if (this$contentLength == null) {
|
if (other$contentLength != null) {
|
return false;
|
}
|
} else if (!this$contentLength.equals(other$contentLength)) {
|
return false;
|
}
|
Object this$workstationFileId = getWorkstationFileId();
|
Object other$workstationFileId = other.getWorkstationFileId();
|
if (this$workstationFileId == null) {
|
if (other$workstationFileId != null) {
|
return false;
|
}
|
} else if (!this$workstationFileId.equals(other$workstationFileId)) {
|
return false;
|
}
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$fileOwnership = getFileOwnership();
|
Object other$fileOwnership = other.getFileOwnership();
|
if (this$fileOwnership == null) {
|
if (other$fileOwnership != null) {
|
return false;
|
}
|
} else if (!this$fileOwnership.equals(other$fileOwnership)) {
|
return false;
|
}
|
Object this$originalFilename = getOriginalFilename();
|
Object other$originalFilename = other.getOriginalFilename();
|
if (this$originalFilename == null) {
|
if (other$originalFilename != null) {
|
return false;
|
}
|
} else if (!this$originalFilename.equals(other$originalFilename)) {
|
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$contentMd5 = getContentMd5();
|
Object other$contentMd5 = other.getContentMd5();
|
if (this$contentMd5 == null) {
|
if (other$contentMd5 != null) {
|
return false;
|
}
|
} else if (!this$contentMd5.equals(other$contentMd5)) {
|
return false;
|
}
|
Object this$contentType = getContentType();
|
Object other$contentType = other.getContentType();
|
if (this$contentType == null) {
|
if (other$contentType != null) {
|
return false;
|
}
|
} else if (!this$contentType.equals(other$contentType)) {
|
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$suffix = getSuffix();
|
Object other$suffix = other.getSuffix();
|
if (this$suffix == null) {
|
if (other$suffix != null) {
|
return false;
|
}
|
} else if (!this$suffix.equals(other$suffix)) {
|
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 DncArchiveDirectoryFileAddVO;
|
}
|
|
public int hashCode() {
|
Object $contentLength = getContentLength();
|
int result = (1 * 59) + ($contentLength == null ? 43 : $contentLength.hashCode());
|
Object $workstationFileId = getWorkstationFileId();
|
int result2 = (result * 59) + ($workstationFileId == null ? 43 : $workstationFileId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $fileOwnership = getFileOwnership();
|
int result4 = (result3 * 59) + ($fileOwnership == null ? 43 : $fileOwnership.hashCode());
|
Object $originalFilename = getOriginalFilename();
|
int result5 = (result4 * 59) + ($originalFilename == null ? 43 : $originalFilename.hashCode());
|
Object $filename = getFilename();
|
int result6 = (result5 * 59) + ($filename == null ? 43 : $filename.hashCode());
|
Object $contentMd5 = getContentMd5();
|
int result7 = (result6 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode());
|
Object $contentType = getContentType();
|
int result8 = (result7 * 59) + ($contentType == null ? 43 : $contentType.hashCode());
|
Object $objectKey = getObjectKey();
|
int result9 = (result8 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $suffix = getSuffix();
|
int result10 = (result9 * 59) + ($suffix == null ? 43 : $suffix.hashCode());
|
Object $link = getLink();
|
return (result10 * 59) + ($link == null ? 43 : $link.hashCode());
|
}
|
|
public String toString() {
|
return "DncArchiveDirectoryFileAddVO(originalFilename=" + getOriginalFilename() + ", filename=" + getFilename() + ", contentLength=" + getContentLength() + ", contentMd5=" + getContentMd5() + ", contentType=" + getContentType() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", link=" + getLink() + ", workstationFileId=" + getWorkstationFileId() + ", workstationId=" + getWorkstationId() + ", fileOwnership=" + getFileOwnership() + ")";
|
}
|
|
public String getOriginalFilename() {
|
return this.originalFilename;
|
}
|
|
public String getFilename() {
|
return this.filename;
|
}
|
|
public Long getContentLength() {
|
return this.contentLength;
|
}
|
|
public String getContentMd5() {
|
return this.contentMd5;
|
}
|
|
public String getContentType() {
|
return this.contentType;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public String getSuffix() {
|
return this.suffix;
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
|
public Long getWorkstationFileId() {
|
return this.workstationFileId;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public Integer getFileOwnership() {
|
return this.fileOwnership;
|
}
|
}
|