package com.qianwen.smartman.modules.dnc.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "DncArtBagLogDTO对象", description = "blade_dnc_art_bag_log")
|
public class DncArtBagLogDTO implements Serializable {
|
@ApiModelProperty("文件id")
|
private Long fileId;
|
@ApiModelProperty("文件名称")
|
private String fileName;
|
@ApiModelProperty("文件存储的key")
|
private String objectKey;
|
@ApiModelProperty("文件后缀")
|
@Size(max = 10, message = "文件后缀长度不能超过10")
|
private String suffix;
|
@ApiModelProperty("操作人员id")
|
private Long operatorId;
|
@ApiModelProperty("操作人员姓名")
|
private String operatorName;
|
@ApiModelProperty("操作时间")
|
private Date operationTime;
|
@ApiModelProperty("源类型:本地文件0 我的文档1 加工程序2 通用文件3 回传文件 4 非通用文件 5 产品 6")
|
private Integer sourceType;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("文件链接")
|
private String link;
|
@ApiModelProperty("工艺包id")
|
private Long artBagId;
|
@ApiModelProperty("工位报文件id")
|
private Long artFileId;
|
@ApiModelProperty("文件属性 程序1 文档2")
|
private Integer fileType;
|
@ApiModelProperty("操作类型 添加1 覆盖2 删除3")
|
private Integer operationType;
|
@ApiModelProperty("文件归属 工厂1 工位2")
|
private Integer fileBelong;
|
@ApiModelProperty("存储空间 固定空间1 常规空间2")
|
private Integer storage;
|
@ApiModelProperty("版本")
|
private Integer version;
|
private Long id;
|
private Integer status;
|
|
public DncArtBagLogDTO setFileId(final Long fileId) {
|
this.fileId = fileId;
|
return this;
|
}
|
|
public DncArtBagLogDTO setFileName(final String fileName) {
|
this.fileName = fileName;
|
return this;
|
}
|
|
public DncArtBagLogDTO setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
return this;
|
}
|
|
public DncArtBagLogDTO setSuffix(final String suffix) {
|
this.suffix = suffix;
|
return this;
|
}
|
|
public DncArtBagLogDTO setOperatorId(final Long operatorId) {
|
this.operatorId = operatorId;
|
return this;
|
}
|
|
public DncArtBagLogDTO setOperatorName(final String operatorName) {
|
this.operatorName = operatorName;
|
return this;
|
}
|
|
public DncArtBagLogDTO setOperationTime(final Date operationTime) {
|
this.operationTime = operationTime;
|
return this;
|
}
|
|
public DncArtBagLogDTO setSourceType(final Integer sourceType) {
|
this.sourceType = sourceType;
|
return this;
|
}
|
|
public DncArtBagLogDTO setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public DncArtBagLogDTO setLink(final String link) {
|
this.link = link;
|
return this;
|
}
|
|
public DncArtBagLogDTO setArtBagId(final Long artBagId) {
|
this.artBagId = artBagId;
|
return this;
|
}
|
|
public DncArtBagLogDTO setArtFileId(final Long artFileId) {
|
this.artFileId = artFileId;
|
return this;
|
}
|
|
public DncArtBagLogDTO setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
return this;
|
}
|
|
public DncArtBagLogDTO setOperationType(final Integer operationType) {
|
this.operationType = operationType;
|
return this;
|
}
|
|
public DncArtBagLogDTO setFileBelong(final Integer fileBelong) {
|
this.fileBelong = fileBelong;
|
return this;
|
}
|
|
public DncArtBagLogDTO setStorage(final Integer storage) {
|
this.storage = storage;
|
return this;
|
}
|
|
public DncArtBagLogDTO setVersion(final Integer version) {
|
this.version = version;
|
return this;
|
}
|
|
public DncArtBagLogDTO setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public DncArtBagLogDTO setStatus(final Integer status) {
|
this.status = status;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DncArtBagLogDTO) {
|
DncArtBagLogDTO other = (DncArtBagLogDTO) o;
|
if (other.canEqual(this)) {
|
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$operatorId = getOperatorId();
|
Object other$operatorId = other.getOperatorId();
|
if (this$operatorId == null) {
|
if (other$operatorId != null) {
|
return false;
|
}
|
} else if (!this$operatorId.equals(other$operatorId)) {
|
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$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$artFileId = getArtFileId();
|
Object other$artFileId = other.getArtFileId();
|
if (this$artFileId == null) {
|
if (other$artFileId != null) {
|
return false;
|
}
|
} else if (!this$artFileId.equals(other$artFileId)) {
|
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$operationType = getOperationType();
|
Object other$operationType = other.getOperationType();
|
if (this$operationType == null) {
|
if (other$operationType != null) {
|
return false;
|
}
|
} else if (!this$operationType.equals(other$operationType)) {
|
return false;
|
}
|
Object this$fileBelong = getFileBelong();
|
Object other$fileBelong = other.getFileBelong();
|
if (this$fileBelong == null) {
|
if (other$fileBelong != null) {
|
return false;
|
}
|
} else if (!this$fileBelong.equals(other$fileBelong)) {
|
return false;
|
}
|
Object this$storage = getStorage();
|
Object other$storage = other.getStorage();
|
if (this$storage == null) {
|
if (other$storage != null) {
|
return false;
|
}
|
} else if (!this$storage.equals(other$storage)) {
|
return false;
|
}
|
Object this$version = getVersion();
|
Object other$version = other.getVersion();
|
if (this$version == null) {
|
if (other$version != null) {
|
return false;
|
}
|
} else if (!this$version.equals(other$version)) {
|
return false;
|
}
|
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$status = 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$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$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$operatorName = getOperatorName();
|
Object other$operatorName = other.getOperatorName();
|
if (this$operatorName == null) {
|
if (other$operatorName != null) {
|
return false;
|
}
|
} else if (!this$operatorName.equals(other$operatorName)) {
|
return false;
|
}
|
Object this$operationTime = getOperationTime();
|
Object other$operationTime = other.getOperationTime();
|
if (this$operationTime == null) {
|
if (other$operationTime != null) {
|
return false;
|
}
|
} else if (!this$operationTime.equals(other$operationTime)) {
|
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$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 DncArtBagLogDTO;
|
}
|
|
public int hashCode() {
|
Object $fileId = getFileId();
|
int result = (1 * 59) + ($fileId == null ? 43 : $fileId.hashCode());
|
Object $operatorId = getOperatorId();
|
int result2 = (result * 59) + ($operatorId == null ? 43 : $operatorId.hashCode());
|
Object $sourceType = getSourceType();
|
int result3 = (result2 * 59) + ($sourceType == null ? 43 : $sourceType.hashCode());
|
Object $artBagId = getArtBagId();
|
int result4 = (result3 * 59) + ($artBagId == null ? 43 : $artBagId.hashCode());
|
Object $artFileId = getArtFileId();
|
int result5 = (result4 * 59) + ($artFileId == null ? 43 : $artFileId.hashCode());
|
Object $fileType = getFileType();
|
int result6 = (result5 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
|
Object $operationType = getOperationType();
|
int result7 = (result6 * 59) + ($operationType == null ? 43 : $operationType.hashCode());
|
Object $fileBelong = getFileBelong();
|
int result8 = (result7 * 59) + ($fileBelong == null ? 43 : $fileBelong.hashCode());
|
Object $storage = getStorage();
|
int result9 = (result8 * 59) + ($storage == null ? 43 : $storage.hashCode());
|
Object $version = getVersion();
|
int result10 = (result9 * 59) + ($version == null ? 43 : $version.hashCode());
|
Object $id = getId();
|
int result11 = (result10 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result12 = (result11 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $fileName = getFileName();
|
int result13 = (result12 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
|
Object $objectKey = getObjectKey();
|
int result14 = (result13 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $suffix = getSuffix();
|
int result15 = (result14 * 59) + ($suffix == null ? 43 : $suffix.hashCode());
|
Object $operatorName = getOperatorName();
|
int result16 = (result15 * 59) + ($operatorName == null ? 43 : $operatorName.hashCode());
|
Object $operationTime = getOperationTime();
|
int result17 = (result16 * 59) + ($operationTime == null ? 43 : $operationTime.hashCode());
|
Object $remark = getRemark();
|
int result18 = (result17 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $link = getLink();
|
return (result18 * 59) + ($link == null ? 43 : $link.hashCode());
|
}
|
|
public String toString() {
|
return "DncArtBagLogDTO(fileId=" + getFileId() + ", fileName=" + getFileName() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", operatorId=" + getOperatorId() + ", operatorName=" + getOperatorName() + ", operationTime=" + getOperationTime() + ", sourceType=" + getSourceType() + ", remark=" + getRemark() + ", link=" + getLink() + ", artBagId=" + getArtBagId() + ", artFileId=" + getArtFileId() + ", fileType=" + getFileType() + ", operationType=" + getOperationType() + ", fileBelong=" + getFileBelong() + ", storage=" + getStorage() + ", version=" + getVersion() + ", id=" + getId() + ", status=" + getStatus() + ")";
|
}
|
|
public Long getFileId() {
|
return this.fileId;
|
}
|
|
public String getFileName() {
|
return this.fileName;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public String getSuffix() {
|
return this.suffix;
|
}
|
|
public Long getOperatorId() {
|
return this.operatorId;
|
}
|
|
public String getOperatorName() {
|
return this.operatorName;
|
}
|
|
public Date getOperationTime() {
|
return this.operationTime;
|
}
|
|
public Integer getSourceType() {
|
return this.sourceType;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
|
public Long getArtBagId() {
|
return this.artBagId;
|
}
|
|
public Long getArtFileId() {
|
return this.artFileId;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
|
public Integer getOperationType() {
|
return this.operationType;
|
}
|
|
public Integer getFileBelong() {
|
return this.fileBelong;
|
}
|
|
public Integer getStorage() {
|
return this.storage;
|
}
|
|
public Integer getVersion() {
|
return this.version;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|