yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
 
@ApiModel(value = "ProductionCraftProcessRemoveVO对象", description = "工艺版本的工序流程删除")
public class ProductionCraftProcessRemoveVO implements Serializable {
    private static final long serialVersionUID = -5066591314727860381L;
    @NotNull(message = "工艺版本ID不能为空")
    @ApiModelProperty(value = "所属工艺ID", dataType = "java.lang.String")
    private Long versionId;
    @NotNull(message = "所属工艺版本工序ID不能为空")
    @ApiModelProperty(value = "所属工艺版本工序ID", dataType = "java.lang.String")
    private Long versionProcessId;
    @ApiModelProperty("工序信息")
    List<ProductionCraftProcessDeleteVO> productionCraftProcessDeleteVOList;
 
    public void setVersionId(final Long versionId) {
        this.versionId = versionId;
    }
 
    public void setVersionProcessId(final Long versionProcessId) {
        this.versionProcessId = versionProcessId;
    }
 
    public void setProductionCraftProcessDeleteVOList(final List<ProductionCraftProcessDeleteVO> productionCraftProcessDeleteVOList) {
        this.productionCraftProcessDeleteVOList = productionCraftProcessDeleteVOList;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProductionCraftProcessRemoveVO) {
            ProductionCraftProcessRemoveVO other = (ProductionCraftProcessRemoveVO) 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$versionProcessId = getVersionProcessId();
                Object other$versionProcessId = other.getVersionProcessId();
                if (this$versionProcessId == null) {
                    if (other$versionProcessId != null) {
                        return false;
                    }
                } else if (!this$versionProcessId.equals(other$versionProcessId)) {
                    return false;
                }
                Object this$productionCraftProcessDeleteVOList = getProductionCraftProcessDeleteVOList();
                Object other$productionCraftProcessDeleteVOList = other.getProductionCraftProcessDeleteVOList();
                return this$productionCraftProcessDeleteVOList == null ? other$productionCraftProcessDeleteVOList == null : this$productionCraftProcessDeleteVOList.equals(other$productionCraftProcessDeleteVOList);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProductionCraftProcessRemoveVO;
    }
 
    public int hashCode() {
        Object $versionId = getVersionId();
        int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode());
        Object $versionProcessId = getVersionProcessId();
        int result2 = (result * 59) + ($versionProcessId == null ? 43 : $versionProcessId.hashCode());
        Object $productionCraftProcessDeleteVOList = getProductionCraftProcessDeleteVOList();
        return (result2 * 59) + ($productionCraftProcessDeleteVOList == null ? 43 : $productionCraftProcessDeleteVOList.hashCode());
    }
 
    public String toString() {
        return "ProductionCraftProcessRemoveVO(versionId=" + getVersionId() + ", versionProcessId=" + getVersionProcessId() + ", productionCraftProcessDeleteVOList=" + getProductionCraftProcessDeleteVOList() + ")";
    }
 
    public Long getVersionId() {
        return this.versionId;
    }
 
    public Long getVersionProcessId() {
        return this.versionProcessId;
    }
 
    public List<ProductionCraftProcessDeleteVO> getProductionCraftProcessDeleteVOList() {
        return this.productionCraftProcessDeleteVOList;
    }
}