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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
package com.qianwen.smartman.modules.cps.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
 
@ApiModel(value = "ProductionCraftVersionVo对象", description = "产品工艺版本复制")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductionCraftVersionCopyVO.class */
public class ProductionCraftVersionCopyVO implements Serializable {
    private static final long serialVersionUID = -2618951698134083120L;
    @ApiModelProperty("工艺路线名称")
    private String craftName;
    @ApiModelProperty(value = "产品ID", dataType = "java.lang.String")
    private Long productId;
    @NotNull(message = "版本ID不能为空")
    @ApiModelProperty(value = "版本ID", dataType = "java.lang.String")
    private Long versionId;
    @ApiModelProperty("产品复制0 - 工艺路线复制1")
    private Integer type;
    @ApiModelProperty(value = "工艺路线id", dataType = "java.lang.String")
    private Long craftId;
 
    public void setCraftName(final String craftName) {
        this.craftName = craftName;
    }
 
    public void setProductId(final Long productId) {
        this.productId = productId;
    }
 
    public void setVersionId(final Long versionId) {
        this.versionId = versionId;
    }
 
    public void setType(final Integer type) {
        this.type = type;
    }
 
    public void setCraftId(final Long craftId) {
        this.craftId = craftId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProductionCraftVersionCopyVO) {
            ProductionCraftVersionCopyVO other = (ProductionCraftVersionCopyVO) o;
            if (other.canEqual(this)) {
                Object this$productId = getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    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$type = getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }
                Object this$craftId = getCraftId();
                Object other$craftId = other.getCraftId();
                if (this$craftId == null) {
                    if (other$craftId != null) {
                        return false;
                    }
                } else if (!this$craftId.equals(other$craftId)) {
                    return false;
                }
                Object this$craftName = getCraftName();
                Object other$craftName = other.getCraftName();
                return this$craftName == null ? other$craftName == null : this$craftName.equals(other$craftName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProductionCraftVersionCopyVO;
    }
 
    public int hashCode() {
        Object $productId = getProductId();
        int result = (1 * 59) + ($productId == null ? 43 : $productId.hashCode());
        Object $versionId = getVersionId();
        int result2 = (result * 59) + ($versionId == null ? 43 : $versionId.hashCode());
        Object $type = getType();
        int result3 = (result2 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $craftId = getCraftId();
        int result4 = (result3 * 59) + ($craftId == null ? 43 : $craftId.hashCode());
        Object $craftName = getCraftName();
        return (result4 * 59) + ($craftName == null ? 43 : $craftName.hashCode());
    }
 
    public String toString() {
        return "ProductionCraftVersionCopyVO(craftName=" + getCraftName() + ", productId=" + getProductId() + ", versionId=" + getVersionId() + ", type=" + getType() + ", craftId=" + getCraftId() + ")";
    }
 
    public String getCraftName() {
        return this.craftName;
    }
 
    public Long getProductId() {
        return this.productId;
    }
 
    public Long getVersionId() {
        return this.versionId;
    }
 
    public Integer getType() {
        return this.type;
    }
 
    public Long getCraftId() {
        return this.craftId;
    }
}