package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotNull; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/VersionProcessParallelVO.class */ public class VersionProcessParallelVO implements Serializable { private static final long serialVersionUID = -9213185516908995596L; @NotNull(message = "工艺版本不能为空") @ApiModelProperty("工艺路线版本id") private Long versionId; @NotNull(message = "工序编号不能为空") @ApiModelProperty("工序编号") private String processCode; @NotNull(message = "工序名称不能为空") @ApiModelProperty("工序名称") private String processName; @ApiModelProperty("当前序所在的顺序") private Integer sort; @ApiModelProperty("目标ID") private String targetId; @ApiModelProperty("资源ID") private String sourceId; @ApiModelProperty("x坐标") private String xCoordinate; @ApiModelProperty("y坐标") private String yCoordinate; @ApiModelProperty("主序的高度") private Integer height; @ApiModelProperty("并序相关序信息") private List parallelVO; public void setVersionId(final Long versionId) { this.versionId = versionId; } public void setProcessCode(final String processCode) { this.processCode = processCode; } public void setProcessName(final String processName) { this.processName = processName; } public void setSort(final Integer sort) { this.sort = sort; } public void setTargetId(final String targetId) { this.targetId = targetId; } public void setSourceId(final String sourceId) { this.sourceId = sourceId; } public void setXCoordinate(final String xCoordinate) { this.xCoordinate = xCoordinate; } public void setYCoordinate(final String yCoordinate) { this.yCoordinate = yCoordinate; } public void setHeight(final Integer height) { this.height = height; } public void setParallelVO(final List parallelVO) { this.parallelVO = parallelVO; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof VersionProcessParallelVO) { VersionProcessParallelVO other = (VersionProcessParallelVO) o; if (other.canEqual(this)) { Object this$versionId = getVersionId(); Object other$versionId = other.getVersionId(); if (this$versionId == null) { if (other$versionId != null) { return false; } } else if (!this$versionId.equals(other$versionId)) { return false; } 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$height = getHeight(); Object other$height = other.getHeight(); if (this$height == null) { if (other$height != null) { return false; } } else if (!this$height.equals(other$height)) { return false; } Object this$processCode = getProcessCode(); Object other$processCode = other.getProcessCode(); if (this$processCode == null) { if (other$processCode != null) { return false; } } else if (!this$processCode.equals(other$processCode)) { return false; } Object this$processName = getProcessName(); Object other$processName = other.getProcessName(); if (this$processName == null) { if (other$processName != null) { return false; } } else if (!this$processName.equals(other$processName)) { return false; } Object this$targetId = getTargetId(); Object other$targetId = other.getTargetId(); if (this$targetId == null) { if (other$targetId != null) { return false; } } else if (!this$targetId.equals(other$targetId)) { return false; } Object this$sourceId = getSourceId(); Object other$sourceId = other.getSourceId(); if (this$sourceId == null) { if (other$sourceId != null) { return false; } } else if (!this$sourceId.equals(other$sourceId)) { return false; } Object this$xCoordinate = getXCoordinate(); Object other$xCoordinate = other.getXCoordinate(); if (this$xCoordinate == null) { if (other$xCoordinate != null) { return false; } } else if (!this$xCoordinate.equals(other$xCoordinate)) { return false; } Object this$yCoordinate = getYCoordinate(); Object other$yCoordinate = other.getYCoordinate(); if (this$yCoordinate == null) { if (other$yCoordinate != null) { return false; } } else if (!this$yCoordinate.equals(other$yCoordinate)) { return false; } Object this$parallelVO = getParallelVO(); Object other$parallelVO = other.getParallelVO(); return this$parallelVO == null ? other$parallelVO == null : this$parallelVO.equals(other$parallelVO); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof VersionProcessParallelVO; } public int hashCode() { Object $versionId = getVersionId(); int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode()); Object $sort = getSort(); int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode()); Object $height = getHeight(); int result3 = (result2 * 59) + ($height == null ? 43 : $height.hashCode()); Object $processCode = getProcessCode(); int result4 = (result3 * 59) + ($processCode == null ? 43 : $processCode.hashCode()); Object $processName = getProcessName(); int result5 = (result4 * 59) + ($processName == null ? 43 : $processName.hashCode()); Object $targetId = getTargetId(); int result6 = (result5 * 59) + ($targetId == null ? 43 : $targetId.hashCode()); Object $sourceId = getSourceId(); int result7 = (result6 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode()); Object $xCoordinate = getXCoordinate(); int result8 = (result7 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode()); Object $yCoordinate = getYCoordinate(); int result9 = (result8 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode()); Object $parallelVO = getParallelVO(); return (result9 * 59) + ($parallelVO == null ? 43 : $parallelVO.hashCode()); } public String toString() { return "VersionProcessParallelVO(versionId=" + getVersionId() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", sort=" + getSort() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", height=" + getHeight() + ", parallelVO=" + getParallelVO() + ")"; } public Long getVersionId() { return this.versionId; } public String getProcessCode() { return this.processCode; } public String getProcessName() { return this.processName; } public Integer getSort() { return this.sort; } public String getTargetId() { return this.targetId; } public String getSourceId() { return this.sourceId; } public String getXCoordinate() { return this.xCoordinate; } public String getYCoordinate() { return this.yCoordinate; } public Integer getHeight() { return this.height; } public List getParallelVO() { return this.parallelVO; } }