package com.qianwen.smartman.modules.dnc.vo; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.tool.utils.Func; import com.qianwen.smartman.modules.dnc.enums.DncEnums; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/TransferDirectoryFilePageVO.class */ public class TransferDirectoryFilePageVO { @ApiModelProperty(value = "主键Id", dataType = "java.lang.String") private Long id; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "传输目录Id", dataType = "java.lang.String") private Long transferDirectoryId; @ApiModelProperty("文件类别 程序 1 文件 2") private Integer fileType; @ApiModelProperty("文件名") private String filename; @ApiModelProperty("原始文件名") private String originalFilename; @ApiModelProperty("文件md5值") private String contentMd5; @ApiModelProperty("文件大小") private Long contentLength; @ApiModelProperty("对象MIME类型") private String contentType; @ApiModelProperty("文件的objectKey") private String objectKey; @ApiModelProperty("文件的后缀") private String suffix; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "工位Id", dataType = "java.lang.String") private Long workstationId; @ApiModelProperty("文件链接") private String link; @ApiModelProperty("更新人") private String updateUser; @ApiModelProperty("存储位置:1 常规空间 2 固定空间") private Integer storageSpace; @ApiModelProperty("存储位置:1 常规空间 2 固定空间") private String storageSpaceDec; @ApiModelProperty("文件归属:1 工位 2 工厂") private Integer documentOwnership; @ApiModelProperty("文件归属:1 工位 2 工厂") private String documentOwnershipDesc; @ApiModelProperty("文件版本") private String version; public void setId(final Long id) { this.id = id; } public void setTransferDirectoryId(final Long transferDirectoryId) { this.transferDirectoryId = transferDirectoryId; } public void setFileType(final Integer fileType) { this.fileType = fileType; } public void setFilename(final String filename) { this.filename = filename; } public void setOriginalFilename(final String originalFilename) { this.originalFilename = originalFilename; } public void setContentMd5(final String contentMd5) { this.contentMd5 = contentMd5; } public void setContentLength(final Long contentLength) { this.contentLength = contentLength; } 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 setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setLink(final String link) { this.link = link; } public void setUpdateUser(final String updateUser) { this.updateUser = updateUser; } public void setStorageSpaceDec(final String storageSpaceDec) { this.storageSpaceDec = storageSpaceDec; } public void setDocumentOwnership(final Integer documentOwnership) { this.documentOwnership = documentOwnership; } public void setDocumentOwnershipDesc(final String documentOwnershipDesc) { this.documentOwnershipDesc = documentOwnershipDesc; } public void setVersion(final String version) { this.version = version; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TransferDirectoryFilePageVO) { TransferDirectoryFilePageVO other = (TransferDirectoryFilePageVO) 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$transferDirectoryId = getTransferDirectoryId(); Object other$transferDirectoryId = other.getTransferDirectoryId(); if (this$transferDirectoryId == null) { if (other$transferDirectoryId != null) { return false; } } else if (!this$transferDirectoryId.equals(other$transferDirectoryId)) { 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$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$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$documentOwnership = getDocumentOwnership(); Object other$documentOwnership = other.getDocumentOwnership(); if (this$documentOwnership == null) { if (other$documentOwnership != null) { return false; } } else if (!this$documentOwnership.equals(other$documentOwnership)) { 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$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$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(); if (this$link == null) { if (other$link != null) { return false; } } else if (!this$link.equals(other$link)) { return false; } Object this$updateUser = getUpdateUser(); Object other$updateUser = other.getUpdateUser(); if (this$updateUser == null) { if (other$updateUser != null) { return false; } } else if (!this$updateUser.equals(other$updateUser)) { return false; } Object this$storageSpaceDec = getStorageSpaceDec(); Object other$storageSpaceDec = other.getStorageSpaceDec(); if (this$storageSpaceDec == null) { if (other$storageSpaceDec != null) { return false; } } else if (!this$storageSpaceDec.equals(other$storageSpaceDec)) { return false; } Object this$documentOwnershipDesc = getDocumentOwnershipDesc(); Object other$documentOwnershipDesc = other.getDocumentOwnershipDesc(); if (this$documentOwnershipDesc == null) { if (other$documentOwnershipDesc != null) { return false; } } else if (!this$documentOwnershipDesc.equals(other$documentOwnershipDesc)) { return false; } Object this$version = getVersion(); Object other$version = other.getVersion(); return this$version == null ? other$version == null : this$version.equals(other$version); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof TransferDirectoryFilePageVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $transferDirectoryId = getTransferDirectoryId(); int result2 = (result * 59) + ($transferDirectoryId == null ? 43 : $transferDirectoryId.hashCode()); Object $fileType = getFileType(); int result3 = (result2 * 59) + ($fileType == null ? 43 : $fileType.hashCode()); Object $contentLength = getContentLength(); int result4 = (result3 * 59) + ($contentLength == null ? 43 : $contentLength.hashCode()); Object $workstationId = getWorkstationId(); int result5 = (result4 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $storageSpace = getStorageSpace(); int result6 = (result5 * 59) + ($storageSpace == null ? 43 : $storageSpace.hashCode()); Object $documentOwnership = getDocumentOwnership(); int result7 = (result6 * 59) + ($documentOwnership == null ? 43 : $documentOwnership.hashCode()); Object $filename = getFilename(); int result8 = (result7 * 59) + ($filename == null ? 43 : $filename.hashCode()); Object $originalFilename = getOriginalFilename(); int result9 = (result8 * 59) + ($originalFilename == null ? 43 : $originalFilename.hashCode()); Object $contentMd5 = getContentMd5(); int result10 = (result9 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode()); Object $contentType = getContentType(); int result11 = (result10 * 59) + ($contentType == null ? 43 : $contentType.hashCode()); Object $objectKey = getObjectKey(); int result12 = (result11 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode()); Object $suffix = getSuffix(); int result13 = (result12 * 59) + ($suffix == null ? 43 : $suffix.hashCode()); Object $link = getLink(); int result14 = (result13 * 59) + ($link == null ? 43 : $link.hashCode()); Object $updateUser = getUpdateUser(); int result15 = (result14 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode()); Object $storageSpaceDec = getStorageSpaceDec(); int result16 = (result15 * 59) + ($storageSpaceDec == null ? 43 : $storageSpaceDec.hashCode()); Object $documentOwnershipDesc = getDocumentOwnershipDesc(); int result17 = (result16 * 59) + ($documentOwnershipDesc == null ? 43 : $documentOwnershipDesc.hashCode()); Object $version = getVersion(); return (result17 * 59) + ($version == null ? 43 : $version.hashCode()); } public String toString() { return "TransferDirectoryFilePageVO(id=" + getId() + ", transferDirectoryId=" + getTransferDirectoryId() + ", fileType=" + getFileType() + ", filename=" + getFilename() + ", originalFilename=" + getOriginalFilename() + ", contentMd5=" + getContentMd5() + ", contentLength=" + getContentLength() + ", contentType=" + getContentType() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", workstationId=" + getWorkstationId() + ", link=" + getLink() + ", updateUser=" + getUpdateUser() + ", storageSpace=" + getStorageSpace() + ", storageSpaceDec=" + getStorageSpaceDec() + ", documentOwnership=" + getDocumentOwnership() + ", documentOwnershipDesc=" + getDocumentOwnershipDesc() + ", version=" + getVersion() + ")"; } public Long getId() { return this.id; } public Long getTransferDirectoryId() { return this.transferDirectoryId; } public Integer getFileType() { return this.fileType; } public String getFilename() { return this.filename; } public String getOriginalFilename() { return this.originalFilename; } public String getContentMd5() { return this.contentMd5; } public Long getContentLength() { return this.contentLength; } public String getContentType() { return this.contentType; } public String getObjectKey() { return this.objectKey; } public String getSuffix() { return this.suffix; } public Long getWorkstationId() { return this.workstationId; } public String getLink() { return this.link; } public String getUpdateUser() { return this.updateUser; } public Integer getStorageSpace() { return this.storageSpace; } public String getStorageSpaceDec() { return this.storageSpaceDec; } public Integer getDocumentOwnership() { return this.documentOwnership; } public String getDocumentOwnershipDesc() { return this.documentOwnershipDesc; } public String getVersion() { return this.version; } public void setStorageSpace(Integer storageSpace) { this.storageSpace = storageSpace; if (Func.isNotEmpty(storageSpace)) { if (storageSpace.equals(DncEnums.StorageSpace.ROUTINE.getCode())) { this.storageSpaceDec = DncEnums.StorageSpace.ROUTINE.getName(); } if (storageSpace.equals(DncEnums.StorageSpace.FIXED.getCode())) { this.storageSpaceDec = DncEnums.StorageSpace.FIXED.getName(); } } } }