package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/WorkstationDetailVO.class */
|
public class WorkstationDetailVO {
|
@ApiModelProperty("工位id")
|
private String workstationId;
|
@ApiModelProperty("固定空间目录id 根目录是常规空间 其他节点是固定空间文件")
|
private Long storageSpaceId;
|
@ApiModelProperty("文件名称")
|
private String fileName;
|
@ApiModelProperty("存储空间:1 内部存储 2 以太网,默认都传: 1,2")
|
private List<Integer> fileLocations;
|
@ApiModelProperty("1 常规空间 0 固定空间")
|
private Integer regularSpace;
|
@ApiModelProperty("1新版本 0老版本")
|
private Integer oldVer;
|
|
public void setWorkstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setStorageSpaceId(final Long storageSpaceId) {
|
this.storageSpaceId = storageSpaceId;
|
}
|
|
public void setFileName(final String fileName) {
|
this.fileName = fileName;
|
}
|
|
public void setFileLocations(final List<Integer> fileLocations) {
|
this.fileLocations = fileLocations;
|
}
|
|
public void setRegularSpace(final Integer regularSpace) {
|
this.regularSpace = regularSpace;
|
}
|
|
public void setOldVer(final Integer oldVer) {
|
this.oldVer = oldVer;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationDetailVO) {
|
WorkstationDetailVO other = (WorkstationDetailVO) o;
|
if (other.canEqual(this)) {
|
Object this$storageSpaceId = getStorageSpaceId();
|
Object other$storageSpaceId = other.getStorageSpaceId();
|
if (this$storageSpaceId == null) {
|
if (other$storageSpaceId != null) {
|
return false;
|
}
|
} else if (!this$storageSpaceId.equals(other$storageSpaceId)) {
|
return false;
|
}
|
Object this$regularSpace = getRegularSpace();
|
Object other$regularSpace = other.getRegularSpace();
|
if (this$regularSpace == null) {
|
if (other$regularSpace != null) {
|
return false;
|
}
|
} else if (!this$regularSpace.equals(other$regularSpace)) {
|
return false;
|
}
|
Object this$oldVer = getOldVer();
|
Object other$oldVer = other.getOldVer();
|
if (this$oldVer == null) {
|
if (other$oldVer != null) {
|
return false;
|
}
|
} else if (!this$oldVer.equals(other$oldVer)) {
|
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$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$fileLocations = getFileLocations();
|
Object other$fileLocations = other.getFileLocations();
|
return this$fileLocations == null ? other$fileLocations == null : this$fileLocations.equals(other$fileLocations);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationDetailVO;
|
}
|
|
public int hashCode() {
|
Object $storageSpaceId = getStorageSpaceId();
|
int result = (1 * 59) + ($storageSpaceId == null ? 43 : $storageSpaceId.hashCode());
|
Object $regularSpace = getRegularSpace();
|
int result2 = (result * 59) + ($regularSpace == null ? 43 : $regularSpace.hashCode());
|
Object $oldVer = getOldVer();
|
int result3 = (result2 * 59) + ($oldVer == null ? 43 : $oldVer.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $fileName = getFileName();
|
int result5 = (result4 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
|
Object $fileLocations = getFileLocations();
|
return (result5 * 59) + ($fileLocations == null ? 43 : $fileLocations.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationDetailVO(workstationId=" + getWorkstationId() + ", storageSpaceId=" + getStorageSpaceId() + ", fileName=" + getFileName() + ", fileLocations=" + getFileLocations() + ", regularSpace=" + getRegularSpace() + ", oldVer=" + getOldVer() + ")";
|
}
|
|
public String getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public Long getStorageSpaceId() {
|
return this.storageSpaceId;
|
}
|
|
public String getFileName() {
|
return this.fileName;
|
}
|
|
public List<Integer> getFileLocations() {
|
return this.fileLocations;
|
}
|
|
public Integer getRegularSpace() {
|
return this.regularSpace;
|
}
|
|
public Integer getOldVer() {
|
return this.oldVer;
|
}
|
}
|