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;
|
import com.qianwen.smartman.modules.smis.dto.ProcessMainUpdateDTO;
|
import com.qianwen.smartman.modules.smis.dto.ProcessNmUpdateDTO;
|
|
public class ProcessParallelUpdateVO implements Serializable {
|
private static final long serialVersionUID = 8178870292025469170L;
|
@NotNull(message = "版本id不能为空")
|
@ApiModelProperty(value = "版本id", dataType = "java.lang.String")
|
private Long versionId;
|
@ApiModelProperty("需要移除的子序id")
|
private List<Long> removeIds;
|
@ApiModelProperty("正常序修改顺序")
|
private List<ProcessNmUpdateDTO> normalProcess;
|
@ApiModelProperty("并序信息")
|
private List<ProcessMainUpdateDTO> mainProcess;
|
|
public void setVersionId(final Long versionId) {
|
this.versionId = versionId;
|
}
|
|
public void setRemoveIds(final List<Long> removeIds) {
|
this.removeIds = removeIds;
|
}
|
|
public void setNormalProcess(final List<ProcessNmUpdateDTO> normalProcess) {
|
this.normalProcess = normalProcess;
|
}
|
|
public void setMainProcess(final List<ProcessMainUpdateDTO> mainProcess) {
|
this.mainProcess = mainProcess;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessParallelUpdateVO) {
|
ProcessParallelUpdateVO other = (ProcessParallelUpdateVO) 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$removeIds = getRemoveIds();
|
Object other$removeIds = other.getRemoveIds();
|
if (this$removeIds == null) {
|
if (other$removeIds != null) {
|
return false;
|
}
|
} else if (!this$removeIds.equals(other$removeIds)) {
|
return false;
|
}
|
Object this$normalProcess = getNormalProcess();
|
Object other$normalProcess = other.getNormalProcess();
|
if (this$normalProcess == null) {
|
if (other$normalProcess != null) {
|
return false;
|
}
|
} else if (!this$normalProcess.equals(other$normalProcess)) {
|
return false;
|
}
|
Object this$mainProcess = getMainProcess();
|
Object other$mainProcess = other.getMainProcess();
|
return this$mainProcess == null ? other$mainProcess == null : this$mainProcess.equals(other$mainProcess);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessParallelUpdateVO;
|
}
|
|
public int hashCode() {
|
Object $versionId = getVersionId();
|
int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode());
|
Object $removeIds = getRemoveIds();
|
int result2 = (result * 59) + ($removeIds == null ? 43 : $removeIds.hashCode());
|
Object $normalProcess = getNormalProcess();
|
int result3 = (result2 * 59) + ($normalProcess == null ? 43 : $normalProcess.hashCode());
|
Object $mainProcess = getMainProcess();
|
return (result3 * 59) + ($mainProcess == null ? 43 : $mainProcess.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessParallelUpdateVO(versionId=" + getVersionId() + ", removeIds=" + getRemoveIds() + ", normalProcess=" + getNormalProcess() + ", mainProcess=" + getMainProcess() + ")";
|
}
|
|
public Long getVersionId() {
|
return this.versionId;
|
}
|
|
public List<Long> getRemoveIds() {
|
return this.removeIds;
|
}
|
|
public List<ProcessNmUpdateDTO> getNormalProcess() {
|
return this.normalProcess;
|
}
|
|
public List<ProcessMainUpdateDTO> getMainProcess() {
|
return this.mainProcess;
|
}
|
}
|