yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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.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/ChildProcessVO.class */
public class ChildProcessVO implements Serializable {
    private static final long serialVersionUID = -9025650813540985793L;
    @NotNull(message = "主序id不能为空")
    @ApiModelProperty(value = "主序id", dataType = "java.lang.String")
    private Long mainId;
    @NotNull(message = "工艺版本id不能为空")
    @ApiModelProperty(value = "版本id", dataType = "java.lang.String")
    private Long versionId;
    @ApiModelProperty("主序所在的顺序")
    private Integer sort;
    @ApiModelProperty("子序信息")
    private List<VersionProcessAddVO> childProcess;
 
    public void setMainId(final Long mainId) {
        this.mainId = mainId;
    }
 
    public void setVersionId(final Long versionId) {
        this.versionId = versionId;
    }
 
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
 
    public void setChildProcess(final List<VersionProcessAddVO> childProcess) {
        this.childProcess = childProcess;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ChildProcessVO) {
            ChildProcessVO other = (ChildProcessVO) o;
            if (other.canEqual(this)) {
                Object this$mainId = getMainId();
                Object other$mainId = other.getMainId();
                if (this$mainId == null) {
                    if (other$mainId != null) {
                        return false;
                    }
                } else if (!this$mainId.equals(other$mainId)) {
                    return false;
                }
                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$childProcess = getChildProcess();
                Object other$childProcess = other.getChildProcess();
                return this$childProcess == null ? other$childProcess == null : this$childProcess.equals(other$childProcess);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ChildProcessVO;
    }
 
    public int hashCode() {
        Object $mainId = getMainId();
        int result = (1 * 59) + ($mainId == null ? 43 : $mainId.hashCode());
        Object $versionId = getVersionId();
        int result2 = (result * 59) + ($versionId == null ? 43 : $versionId.hashCode());
        Object $sort = getSort();
        int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $childProcess = getChildProcess();
        return (result3 * 59) + ($childProcess == null ? 43 : $childProcess.hashCode());
    }
 
    public String toString() {
        return "ChildProcessVO(mainId=" + getMainId() + ", versionId=" + getVersionId() + ", sort=" + getSort() + ", childProcess=" + getChildProcess() + ")";
    }
 
    public Long getMainId() {
        return this.mainId;
    }
 
    public Long getVersionId() {
        return this.versionId;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public List<VersionProcessAddVO> getChildProcess() {
        return this.childProcess;
    }
}