package com.qianwen.smartman.modules.dnc.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; 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/DncOperationLogVO.class */ public class DncOperationLogVO implements Serializable { @ApiModelProperty("序号") private Integer sort; @ApiModelProperty("id") private Long id; @ApiModelProperty("文件id") private Long fileId; @ApiModelProperty("文件名称") private String fileName; @ApiModelProperty("文件类型 1:代表文件夹 0:代表文件") private Integer fileType; @ApiModelProperty("文件的objectKey") private String objectKey; @ApiModelProperty("文件的后缀") private String suffix; @ApiModelProperty("操作人id") private Long operatorId; @ApiModelProperty("操作人") private String operatorName; @ApiModelProperty("操作类型:上传1 下载2 删除3 更新4 5移动 6复制") private Integer operationType; @ApiModelProperty("操作类型说明:上传1 下载2 删除3 更新4 5移动 6复制") private String operationTypeDesc; @ApiModelProperty("操作结果:成功1 失败0") private Integer operationResponse; @ApiModelProperty("操作时间") private Date operationTime; @ApiModelProperty("源类型:本地文件0 我的文档1 工位文件-加工程序2 工艺文件-通用文件 3 回传文件 4 工艺文件-非通用文件") private Integer sourceType; @ApiModelProperty("源类型:本地文件0 我的文档1 工位文件-加工程序2 工艺文件-通用文件3 回传文件 4 工艺文件-非通用文件") private String sourceTypeDesc; @ApiModelProperty("源全路径id") private String sourcePathId; @ApiModelProperty("源全路径名称") private String sourcePathName; @ApiModelProperty("目标类型:本地文件0 我的文档1 工位文件-加工程序2 工艺文件-工位文件3 回传文件 4") private Integer targetType; @ApiModelProperty("目标类型说明:本地文件0 我的文档1 工位文件-加工程序2 工艺文件-工位文件3 FTP 4") private String targetTypeDesc; @ApiModelProperty("目标全路径id:格式,/1/123/456") private String targetPathId; @ApiModelProperty("目标全路径名称:格式,/我的文档/文件夹1/文件夹2") private String targetPathName; @ApiModelProperty("文件链接") private String link; @ApiModelProperty("文件版本") private String version; @ApiModelProperty("工位id") private Long workstationId; @ApiModelProperty("存储位置:1 常规空间 2 固定空间") private Integer storageSpace; @ApiModelProperty("存储位置:1 常规空间 2 固定空间") private String storageSpaceDec; @ApiModelProperty("文件位置:1 内部存储 2 以太网") private Integer fileLocation; @ApiModelProperty("文件位置:1 内部存储 2 以太网") private String fileLocationDesc; public DncOperationLogVO setSort(final Integer sort) { this.sort = sort; return this; } public DncOperationLogVO setId(final Long id) { this.id = id; return this; } public DncOperationLogVO setFileId(final Long fileId) { this.fileId = fileId; return this; } public DncOperationLogVO setFileName(final String fileName) { this.fileName = fileName; return this; } public DncOperationLogVO setFileType(final Integer fileType) { this.fileType = fileType; return this; } public DncOperationLogVO setObjectKey(final String objectKey) { this.objectKey = objectKey; return this; } public DncOperationLogVO setSuffix(final String suffix) { this.suffix = suffix; return this; } public DncOperationLogVO setOperatorId(final Long operatorId) { this.operatorId = operatorId; return this; } public DncOperationLogVO setOperatorName(final String operatorName) { this.operatorName = operatorName; return this; } public DncOperationLogVO setOperationTypeDesc(final String operationTypeDesc) { this.operationTypeDesc = operationTypeDesc; return this; } public DncOperationLogVO setOperationResponse(final Integer operationResponse) { this.operationResponse = operationResponse; return this; } public DncOperationLogVO setOperationTime(final Date operationTime) { this.operationTime = operationTime; return this; } public DncOperationLogVO setSourceTypeDesc(final String sourceTypeDesc) { this.sourceTypeDesc = sourceTypeDesc; return this; } public DncOperationLogVO setSourcePathId(final String sourcePathId) { this.sourcePathId = sourcePathId; return this; } public DncOperationLogVO setSourcePathName(final String sourcePathName) { this.sourcePathName = sourcePathName; return this; } public DncOperationLogVO setTargetTypeDesc(final String targetTypeDesc) { this.targetTypeDesc = targetTypeDesc; return this; } public DncOperationLogVO setTargetPathId(final String targetPathId) { this.targetPathId = targetPathId; return this; } public DncOperationLogVO setTargetPathName(final String targetPathName) { this.targetPathName = targetPathName; return this; } public DncOperationLogVO setLink(final String link) { this.link = link; return this; } public DncOperationLogVO setVersion(final String version) { this.version = version; return this; } public DncOperationLogVO setWorkstationId(final Long workstationId) { this.workstationId = workstationId; return this; } public DncOperationLogVO setStorageSpaceDec(final String storageSpaceDec) { this.storageSpaceDec = storageSpaceDec; return this; } public DncOperationLogVO setFileLocationDesc(final String fileLocationDesc) { this.fileLocationDesc = fileLocationDesc; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DncOperationLogVO) { DncOperationLogVO other = (DncOperationLogVO) o; if (other.canEqual(this)) { Object this$sort = getSort(); Object other$sort = other.getSort(); if (this$sort == null) { if (other$sort != null) { return false; } } else if (!this$sort.equals(other$sort)) { 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$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$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$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$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$operationResponse = getOperationResponse(); Object other$operationResponse = other.getOperationResponse(); if (this$operationResponse == null) { if (other$operationResponse != null) { return false; } } else if (!this$operationResponse.equals(other$operationResponse)) { 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$targetType = getTargetType(); Object other$targetType = other.getTargetType(); if (this$targetType == null) { if (other$targetType != null) { return false; } } else if (!this$targetType.equals(other$targetType)) { 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$fileLocation = getFileLocation(); Object other$fileLocation = other.getFileLocation(); if (this$fileLocation == null) { if (other$fileLocation != null) { return false; } } else if (!this$fileLocation.equals(other$fileLocation)) { 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$operationTypeDesc = getOperationTypeDesc(); Object other$operationTypeDesc = other.getOperationTypeDesc(); if (this$operationTypeDesc == null) { if (other$operationTypeDesc != null) { return false; } } else if (!this$operationTypeDesc.equals(other$operationTypeDesc)) { 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$sourceTypeDesc = getSourceTypeDesc(); Object other$sourceTypeDesc = other.getSourceTypeDesc(); if (this$sourceTypeDesc == null) { if (other$sourceTypeDesc != null) { return false; } } else if (!this$sourceTypeDesc.equals(other$sourceTypeDesc)) { return false; } Object this$sourcePathId = getSourcePathId(); Object other$sourcePathId = other.getSourcePathId(); if (this$sourcePathId == null) { if (other$sourcePathId != null) { return false; } } else if (!this$sourcePathId.equals(other$sourcePathId)) { return false; } Object this$sourcePathName = getSourcePathName(); Object other$sourcePathName = other.getSourcePathName(); if (this$sourcePathName == null) { if (other$sourcePathName != null) { return false; } } else if (!this$sourcePathName.equals(other$sourcePathName)) { return false; } Object this$targetTypeDesc = getTargetTypeDesc(); Object other$targetTypeDesc = other.getTargetTypeDesc(); if (this$targetTypeDesc == null) { if (other$targetTypeDesc != null) { return false; } } else if (!this$targetTypeDesc.equals(other$targetTypeDesc)) { return false; } Object this$targetPathId = getTargetPathId(); Object other$targetPathId = other.getTargetPathId(); if (this$targetPathId == null) { if (other$targetPathId != null) { return false; } } else if (!this$targetPathId.equals(other$targetPathId)) { return false; } Object this$targetPathName = getTargetPathName(); Object other$targetPathName = other.getTargetPathName(); if (this$targetPathName == null) { if (other$targetPathName != null) { return false; } } else if (!this$targetPathName.equals(other$targetPathName)) { 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$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$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$fileLocationDesc = getFileLocationDesc(); Object other$fileLocationDesc = other.getFileLocationDesc(); return this$fileLocationDesc == null ? other$fileLocationDesc == null : this$fileLocationDesc.equals(other$fileLocationDesc); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DncOperationLogVO; } public int hashCode() { Object $sort = getSort(); int result = (1 * 59) + ($sort == null ? 43 : $sort.hashCode()); Object $id = getId(); int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode()); Object $fileId = getFileId(); int result3 = (result2 * 59) + ($fileId == null ? 43 : $fileId.hashCode()); Object $fileType = getFileType(); int result4 = (result3 * 59) + ($fileType == null ? 43 : $fileType.hashCode()); Object $operatorId = getOperatorId(); int result5 = (result4 * 59) + ($operatorId == null ? 43 : $operatorId.hashCode()); Object $operationType = getOperationType(); int result6 = (result5 * 59) + ($operationType == null ? 43 : $operationType.hashCode()); Object $operationResponse = getOperationResponse(); int result7 = (result6 * 59) + ($operationResponse == null ? 43 : $operationResponse.hashCode()); Object $sourceType = getSourceType(); int result8 = (result7 * 59) + ($sourceType == null ? 43 : $sourceType.hashCode()); Object $targetType = getTargetType(); int result9 = (result8 * 59) + ($targetType == null ? 43 : $targetType.hashCode()); Object $workstationId = getWorkstationId(); int result10 = (result9 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $storageSpace = getStorageSpace(); int result11 = (result10 * 59) + ($storageSpace == null ? 43 : $storageSpace.hashCode()); Object $fileLocation = getFileLocation(); int result12 = (result11 * 59) + ($fileLocation == null ? 43 : $fileLocation.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 $operationTypeDesc = getOperationTypeDesc(); int result17 = (result16 * 59) + ($operationTypeDesc == null ? 43 : $operationTypeDesc.hashCode()); Object $operationTime = getOperationTime(); int result18 = (result17 * 59) + ($operationTime == null ? 43 : $operationTime.hashCode()); Object $sourceTypeDesc = getSourceTypeDesc(); int result19 = (result18 * 59) + ($sourceTypeDesc == null ? 43 : $sourceTypeDesc.hashCode()); Object $sourcePathId = getSourcePathId(); int result20 = (result19 * 59) + ($sourcePathId == null ? 43 : $sourcePathId.hashCode()); Object $sourcePathName = getSourcePathName(); int result21 = (result20 * 59) + ($sourcePathName == null ? 43 : $sourcePathName.hashCode()); Object $targetTypeDesc = getTargetTypeDesc(); int result22 = (result21 * 59) + ($targetTypeDesc == null ? 43 : $targetTypeDesc.hashCode()); Object $targetPathId = getTargetPathId(); int result23 = (result22 * 59) + ($targetPathId == null ? 43 : $targetPathId.hashCode()); Object $targetPathName = getTargetPathName(); int result24 = (result23 * 59) + ($targetPathName == null ? 43 : $targetPathName.hashCode()); Object $link = getLink(); int result25 = (result24 * 59) + ($link == null ? 43 : $link.hashCode()); Object $version = getVersion(); int result26 = (result25 * 59) + ($version == null ? 43 : $version.hashCode()); Object $storageSpaceDec = getStorageSpaceDec(); int result27 = (result26 * 59) + ($storageSpaceDec == null ? 43 : $storageSpaceDec.hashCode()); Object $fileLocationDesc = getFileLocationDesc(); return (result27 * 59) + ($fileLocationDesc == null ? 43 : $fileLocationDesc.hashCode()); } public String toString() { return "DncOperationLogVO(sort=" + getSort() + ", id=" + getId() + ", fileId=" + getFileId() + ", fileName=" + getFileName() + ", fileType=" + getFileType() + ", objectKey=" + getObjectKey() + ", suffix=" + getSuffix() + ", operatorId=" + getOperatorId() + ", operatorName=" + getOperatorName() + ", operationType=" + getOperationType() + ", operationTypeDesc=" + getOperationTypeDesc() + ", operationResponse=" + getOperationResponse() + ", operationTime=" + getOperationTime() + ", sourceType=" + getSourceType() + ", sourceTypeDesc=" + getSourceTypeDesc() + ", sourcePathId=" + getSourcePathId() + ", sourcePathName=" + getSourcePathName() + ", targetType=" + getTargetType() + ", targetTypeDesc=" + getTargetTypeDesc() + ", targetPathId=" + getTargetPathId() + ", targetPathName=" + getTargetPathName() + ", link=" + getLink() + ", version=" + getVersion() + ", workstationId=" + getWorkstationId() + ", storageSpace=" + getStorageSpace() + ", storageSpaceDec=" + getStorageSpaceDec() + ", fileLocation=" + getFileLocation() + ", fileLocationDesc=" + getFileLocationDesc() + ")"; } public Integer getSort() { return this.sort; } public Long getId() { return this.id; } public Long getFileId() { return this.fileId; } public String getFileName() { return this.fileName; } public Integer getFileType() { return this.fileType; } 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 Integer getOperationType() { return this.operationType; } public String getOperationTypeDesc() { return this.operationTypeDesc; } public Integer getOperationResponse() { return this.operationResponse; } public Date getOperationTime() { return this.operationTime; } public Integer getSourceType() { return this.sourceType; } public String getSourceTypeDesc() { return this.sourceTypeDesc; } public String getSourcePathId() { return this.sourcePathId; } public String getSourcePathName() { return this.sourcePathName; } public Integer getTargetType() { return this.targetType; } public String getTargetTypeDesc() { return this.targetTypeDesc; } public String getTargetPathId() { return this.targetPathId; } public String getTargetPathName() { return this.targetPathName; } public String getLink() { return this.link; } public String getVersion() { return this.version; } public Long getWorkstationId() { return this.workstationId; } public Integer getStorageSpace() { return this.storageSpace; } public String getStorageSpaceDec() { return this.storageSpaceDec; } public Integer getFileLocation() { return this.fileLocation; } public String getFileLocationDesc() { return this.fileLocationDesc; } public void setFileLocation(Integer fileLocation) { this.fileLocation = fileLocation; if (Func.isNotEmpty(fileLocation)) { if (fileLocation.equals(DncEnums.FileLocation.INTERNAL_STORAGE.getCode())) { this.fileLocationDesc = DncEnums.FileLocation.INTERNAL_STORAGE.getName(); } if (fileLocation.equals(DncEnums.FileLocation.ETHERNET.getCode())) { this.fileLocationDesc = DncEnums.FileLocation.ETHERNET.getName(); } } } 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(); } } } public void setOperationType(Integer operationType) { this.operationType = operationType; if (Func.isNotEmpty(operationType)) { if (operationType.equals(DncEnums.LogOperationType.UPLOAD.getCode())) { this.operationTypeDesc = DncEnums.LogOperationType.UPLOAD.getName(); } if (operationType.equals(DncEnums.LogOperationType.DOWNLOAD.getCode())) { this.operationTypeDesc = DncEnums.LogOperationType.DOWNLOAD.getName(); } if (operationType.equals(DncEnums.LogOperationType.DELETE.getCode())) { this.operationTypeDesc = DncEnums.LogOperationType.DELETE.getName(); } if (operationType.equals(DncEnums.LogOperationType.TO_UPDATE.getCode())) { this.operationTypeDesc = DncEnums.LogOperationType.TO_UPDATE.getName(); } if (operationType.equals(DncEnums.LogOperationType.MOVE.getCode())) { this.operationTypeDesc = DncEnums.LogOperationType.MOVE.getName(); } if (operationType.equals(DncEnums.LogOperationType.COPY.getCode())) { this.operationTypeDesc = DncEnums.LogOperationType.COPY.getName(); } } } public void setSourceType(Integer sourceType) { this.sourceType = sourceType; if (Func.isNotEmpty(sourceType)) { if (sourceType.equals(DncEnums.LogFileSourceType.LOCAL_FILE.getCode())) { this.sourceTypeDesc = DncEnums.LogFileSourceType.LOCAL_FILE.getName(); } if (sourceType.equals(DncEnums.LogFileSourceType.MY_DOCUMENTS.getCode())) { this.sourceTypeDesc = DncEnums.LogFileSourceType.MY_DOCUMENTS.getName(); } if (sourceType.equals(DncEnums.LogFileSourceType.PROCESSING_PROGRAM.getCode())) { this.sourceTypeDesc = DncEnums.LogFileSourceType.PROCESSING_PROGRAM.getName(); } if (sourceType.equals(DncEnums.LogFileSourceType.STATION_FILE.getCode())) { this.sourceTypeDesc = DncEnums.LogFileSourceType.STATION_FILE.getName(); } if (sourceType.equals(DncEnums.LogFileSourceType.ART_BAG.getCode())) { this.sourceTypeDesc = DncEnums.LogFileSourceType.ART_BAG.getName(); } if (sourceType.equals(DncEnums.LogFileSourceType.FTP.getCode())) { this.sourceTypeDesc = DncEnums.LogFileSourceType.FTP.getName(); } } } public void setTargetType(Integer targetType) { this.targetType = targetType; if (Func.isNotEmpty(targetType)) { if (targetType.equals(DncEnums.LogFileSourceType.LOCAL_FILE.getCode())) { this.targetTypeDesc = DncEnums.LogFileSourceType.LOCAL_FILE.getName(); } if (targetType.equals(DncEnums.LogFileSourceType.MY_DOCUMENTS.getCode())) { this.targetTypeDesc = DncEnums.LogFileSourceType.MY_DOCUMENTS.getName(); } if (targetType.equals(DncEnums.LogFileSourceType.PROCESSING_PROGRAM.getCode())) { this.targetTypeDesc = DncEnums.LogFileSourceType.PROCESSING_PROGRAM.getName(); } if (targetType.equals(DncEnums.LogFileSourceType.STATION_FILE.getCode())) { this.targetTypeDesc = DncEnums.LogFileSourceType.STATION_FILE.getName(); } if (targetType.equals(DncEnums.LogFileSourceType.ART_BAG.getCode())) { this.targetTypeDesc = DncEnums.LogFileSourceType.ART_BAG.getName(); } if (targetType.equals(DncEnums.LogFileSourceType.FTP.getCode())) { this.targetTypeDesc = DncEnums.LogFileSourceType.FTP.getName(); } } } }