package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotNull; public class ProcessParallelSaveVO implements Serializable { private static final long serialVersionUID = -5555068543705656097L; @NotNull(message = "工艺版本id不能为空") @ApiModelProperty(value = "版本id", dataType = "java.lang.String") private Long versionId; @ApiModelProperty("非并序信息") private List normalProcessList; @ApiModelProperty("并序信息") private List parallelProcessList; public void setVersionId(final Long versionId) { this.versionId = versionId; } public void setNormalProcessList(final List normalProcessList) { this.normalProcessList = normalProcessList; } public void setParallelProcessList(final List parallelProcessList) { this.parallelProcessList = parallelProcessList; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ProcessParallelSaveVO) { ProcessParallelSaveVO other = (ProcessParallelSaveVO) 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$normalProcessList = getNormalProcessList(); Object other$normalProcessList = other.getNormalProcessList(); if (this$normalProcessList == null) { if (other$normalProcessList != null) { return false; } } else if (!this$normalProcessList.equals(other$normalProcessList)) { return false; } Object this$parallelProcessList = getParallelProcessList(); Object other$parallelProcessList = other.getParallelProcessList(); return this$parallelProcessList == null ? other$parallelProcessList == null : this$parallelProcessList.equals(other$parallelProcessList); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ProcessParallelSaveVO; } public int hashCode() { Object $versionId = getVersionId(); int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode()); Object $normalProcessList = getNormalProcessList(); int result2 = (result * 59) + ($normalProcessList == null ? 43 : $normalProcessList.hashCode()); Object $parallelProcessList = getParallelProcessList(); return (result2 * 59) + ($parallelProcessList == null ? 43 : $parallelProcessList.hashCode()); } public String toString() { return "ProcessParallelSaveVO(versionId=" + getVersionId() + ", normalProcessList=" + getNormalProcessList() + ", parallelProcessList=" + getParallelProcessList() + ")"; } public Long getVersionId() { return this.versionId; } public List getNormalProcessList() { return this.normalProcessList; } public List getParallelProcessList() { return this.parallelProcessList; } }