yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
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;
    }
}