package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.Size;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncArtFileAddVO.class */
|
public class DncArtFileAddVO implements Serializable {
|
@ApiModelProperty(value = "主键id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("备注")
|
@Size(max = 255, message = "备注长度不能超过255")
|
private String remark;
|
@Size(max = 10, message = "长度不能超过10")
|
private String tenantId;
|
@ApiModelProperty("文件id")
|
private Long fileId;
|
@ApiModelProperty("工艺包id")
|
private Long artBagId;
|
@ApiModelProperty("文件来源: 本地文件 0、我的文档 1、工位文件 2、工厂文件 3、机床回传4 、工艺包 5")
|
private Integer sourceType;
|
@ApiModelProperty("文件类别(1:程序,2 文档)")
|
private Integer fileType;
|
@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;
|
@Size(max = 100, message = "长度不能超过100")
|
private String contentType;
|
@ApiModelProperty("文件的objectKey")
|
@Size(max = 100, message = "文件的objectKey长度不能超过100")
|
private String objectKey;
|
@Size(max = 50, message = "长度不能超过50")
|
private String suffix;
|
@ApiModelProperty("文件归属:1 工位 2 工厂")
|
private Integer fileOwnership;
|
@ApiModelProperty("文件链接")
|
private String link;
|
@ApiModelProperty("存储空间 固定空间1 常规空间2")
|
private Integer storageSpace;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncArtFileAddVO$DncArtFileAddVOBuilder.class */
|
public static class DncArtFileAddVOBuilder {
|
private Long id;
|
private String remark;
|
private String tenantId;
|
private Long fileId;
|
private Long artBagId;
|
private Integer sourceType;
|
private Integer fileType;
|
private String originalFilename;
|
private String filename;
|
private Long contentLength;
|
private String contentMd5;
|
private String contentType;
|
private String objectKey;
|
private String suffix;
|
private Integer fileOwnership;
|
private String link;
|
private Integer storageSpace;
|
|
DncArtFileAddVOBuilder() {
|
}
|
|
public DncArtFileAddVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder remark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder tenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder fileId(final Long fileId) {
|
this.fileId = fileId;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder artBagId(final Long artBagId) {
|
this.artBagId = artBagId;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder sourceType(final Integer sourceType) {
|
this.sourceType = sourceType;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder fileType(final Integer fileType) {
|
this.fileType = fileType;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder originalFilename(final String originalFilename) {
|
this.originalFilename = originalFilename;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder filename(final String filename) {
|
this.filename = filename;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder contentLength(final Long contentLength) {
|
this.contentLength = contentLength;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder contentMd5(final String contentMd5) {
|
this.contentMd5 = contentMd5;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder contentType(final String contentType) {
|
this.contentType = contentType;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder objectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder suffix(final String suffix) {
|
this.suffix = suffix;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder fileOwnership(final Integer fileOwnership) {
|
this.fileOwnership = fileOwnership;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder link(final String link) {
|
this.link = link;
|
return this;
|
}
|
|
public DncArtFileAddVOBuilder storageSpace(final Integer storageSpace) {
|
this.storageSpace = storageSpace;
|
return this;
|
}
|
|
public DncArtFileAddVO build() {
|
return new DncArtFileAddVO(this.id, this.remark, this.tenantId, this.fileId, this.artBagId, this.sourceType, this.fileType, this.originalFilename, this.filename, this.contentLength, this.contentMd5, this.contentType, this.objectKey, this.suffix, this.fileOwnership, this.link, this.storageSpace);
|
}
|
|
public String toString() {
|
return "DncArtFileAddVO.DncArtFileAddVOBuilder(id=" + this.id + ", remark=" + this.remark + ", tenantId=" + this.tenantId + ", fileId=" + this.fileId + ", artBagId=" + this.artBagId + ", sourceType=" + this.sourceType + ", fileType=" + this.fileType + ", originalFilename=" + this.originalFilename + ", filename=" + this.filename + ", contentLength=" + this.contentLength + ", contentMd5=" + this.contentMd5 + ", contentType=" + this.contentType + ", objectKey=" + this.objectKey + ", suffix=" + this.suffix + ", fileOwnership=" + this.fileOwnership + ", link=" + this.link + ", storageSpace=" + this.storageSpace + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setFileId(final Long fileId) {
|
this.fileId = fileId;
|
}
|
|
public void setArtBagId(final Long artBagId) {
|
this.artBagId = artBagId;
|
}
|
|
public void setSourceType(final Integer sourceType) {
|
this.sourceType = sourceType;
|
}
|
|
public void setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
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 setFileOwnership(final Integer fileOwnership) {
|
this.fileOwnership = fileOwnership;
|
}
|
|
public void setLink(final String link) {
|
this.link = link;
|
}
|
|
public void setStorageSpace(final Integer storageSpace) {
|
this.storageSpace = storageSpace;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DncArtFileAddVO) {
|
DncArtFileAddVO other = (DncArtFileAddVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
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$artBagId = getArtBagId();
|
Object other$artBagId = other.getArtBagId();
|
if (this$artBagId == null) {
|
if (other$artBagId != null) {
|
return false;
|
}
|
} else if (!this$artBagId.equals(other$artBagId)) {
|
return false;
|
}
|
Object this$sourceType = getSourceType();
|
Object other$sourceType = other.getSourceType();
|
if (this$sourceType == null) {
|
if (other$sourceType != null) {
|
return false;
|
}
|
} else if (!this$sourceType.equals(other$sourceType)) {
|
return false;
|
}
|
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$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$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$storageSpace = getStorageSpace();
|
Object other$storageSpace = other.getStorageSpace();
|
if (this$storageSpace == null) {
|
if (other$storageSpace != null) {
|
return false;
|
}
|
} else if (!this$storageSpace.equals(other$storageSpace)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
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 DncArtFileAddVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $fileId = getFileId();
|
int result2 = (result * 59) + ($fileId == null ? 43 : $fileId.hashCode());
|
Object $artBagId = getArtBagId();
|
int result3 = (result2 * 59) + ($artBagId == null ? 43 : $artBagId.hashCode());
|
Object $sourceType = getSourceType();
|
int result4 = (result3 * 59) + ($sourceType == null ? 43 : $sourceType.hashCode());
|
Object $fileType = getFileType();
|
int result5 = (result4 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
|
Object $contentLength = getContentLength();
|
int result6 = (result5 * 59) + ($contentLength == null ? 43 : $contentLength.hashCode());
|
Object $fileOwnership = getFileOwnership();
|
int result7 = (result6 * 59) + ($fileOwnership == null ? 43 : $fileOwnership.hashCode());
|
Object $storageSpace = getStorageSpace();
|
int result8 = (result7 * 59) + ($storageSpace == null ? 43 : $storageSpace.hashCode());
|
Object $remark = getRemark();
|
int result9 = (result8 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $tenantId = getTenantId();
|
int result10 = (result9 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $originalFilename = getOriginalFilename();
|
int result11 = (result10 * 59) + ($originalFilename == null ? 43 : $originalFilename.hashCode());
|
Object $filename = getFilename();
|
int result12 = (result11 * 59) + ($filename == null ? 43 : $filename.hashCode());
|
Object $contentMd5 = getContentMd5();
|
int result13 = (result12 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode());
|
Object $contentType = getContentType();
|
int result14 = (result13 * 59) + ($contentType == null ? 43 : $contentType.hashCode());
|
Object $objectKey = getObjectKey();
|
int result15 = (result14 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $suffix = getSuffix();
|
int result16 = (result15 * 59) + ($suffix == null ? 43 : $suffix.hashCode());
|
Object $link = getLink();
|
return (result16 * 59) + ($link == null ? 43 : $link.hashCode());
|
}
|
|
public String toString() {
|
return "DncArtFileAddVO(id=" + getId() + ", remark=" + getRemark() + ", tenantId=" + getTenantId() + ", fileId=" + getFileId() + ", artBagId=" + getArtBagId() + ", sourceType=" + getSourceType() + ", fileType=" + getFileType() + ", originalFilename=" + getOriginalFilename() + ", filename=" + getFilename() + ", contentLength=" + getContentLength() + ", contentMd5=" + getContentMd5() + ", contentType=" + getContentType() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", fileOwnership=" + getFileOwnership() + ", link=" + getLink() + ", storageSpace=" + getStorageSpace() + ")";
|
}
|
|
DncArtFileAddVO(final Long id, final String remark, final String tenantId, final Long fileId, final Long artBagId, final Integer sourceType, final Integer fileType, final String originalFilename, final String filename, final Long contentLength, final String contentMd5, final String contentType, final String objectKey, final String suffix, final Integer fileOwnership, final String link, final Integer storageSpace) {
|
this.id = id;
|
this.remark = remark;
|
this.tenantId = tenantId;
|
this.fileId = fileId;
|
this.artBagId = artBagId;
|
this.sourceType = sourceType;
|
this.fileType = fileType;
|
this.originalFilename = originalFilename;
|
this.filename = filename;
|
this.contentLength = contentLength;
|
this.contentMd5 = contentMd5;
|
this.contentType = contentType;
|
this.objectKey = objectKey;
|
this.suffix = suffix;
|
this.fileOwnership = fileOwnership;
|
this.link = link;
|
this.storageSpace = storageSpace;
|
}
|
|
public static DncArtFileAddVOBuilder builder() {
|
return new DncArtFileAddVOBuilder();
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public Long getFileId() {
|
return this.fileId;
|
}
|
|
public Long getArtBagId() {
|
return this.artBagId;
|
}
|
|
public Integer getSourceType() {
|
return this.sourceType;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
|
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 Integer getFileOwnership() {
|
return this.fileOwnership;
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
|
public Integer getStorageSpace() {
|
return this.storageSpace;
|
}
|
}
|