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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
 
@ApiModel(value = "ProductionCraftProcessSortVO对象", description = "工艺版本的工序流程更新顺序")
public class ProductionCraftProcessSortVO implements Serializable {
    private static final long serialVersionUID = 6937315188225200890L;
    @ApiModelProperty("工序顺序")
    private Integer sort;
    @ApiModelProperty("目标ID")
    private String targetId;
    @ApiModelProperty("资源ID")
    private String sourceId;
    @ApiModelProperty("x坐标")
    private String xCoordinate;
    @ApiModelProperty("y坐标")
    private String yCoordinate;
    @NotNull(message = "工艺版本工序ID不能为空")
    @ApiModelProperty(value = "主键", dataType = "java.lang.String")
    private Long id;
 
    
    public static class ProductionCraftProcessSortVOBuilder {
        private Integer sort;
        private String targetId;
        private String sourceId;
        private String xCoordinate;
        private String yCoordinate;
        private Long id;
 
        ProductionCraftProcessSortVOBuilder() {
        }
 
        public ProductionCraftProcessSortVOBuilder sort(final Integer sort) {
            this.sort = sort;
            return this;
        }
 
        public ProductionCraftProcessSortVOBuilder targetId(final String targetId) {
            this.targetId = targetId;
            return this;
        }
 
        public ProductionCraftProcessSortVOBuilder sourceId(final String sourceId) {
            this.sourceId = sourceId;
            return this;
        }
 
        public ProductionCraftProcessSortVOBuilder xCoordinate(final String xCoordinate) {
            this.xCoordinate = xCoordinate;
            return this;
        }
 
        public ProductionCraftProcessSortVOBuilder yCoordinate(final String yCoordinate) {
            this.yCoordinate = yCoordinate;
            return this;
        }
 
        public ProductionCraftProcessSortVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public ProductionCraftProcessSortVO build() {
            return new ProductionCraftProcessSortVO(this.sort, this.targetId, this.sourceId, this.xCoordinate, this.yCoordinate, this.id);
        }
 
        public String toString() {
            return "ProductionCraftProcessSortVO.ProductionCraftProcessSortVOBuilder(sort=" + this.sort + ", targetId=" + this.targetId + ", sourceId=" + this.sourceId + ", xCoordinate=" + this.xCoordinate + ", yCoordinate=" + this.yCoordinate + ", id=" + this.id + ")";
        }
    }
 
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
 
    public void setTargetId(final String targetId) {
        this.targetId = targetId;
    }
 
    public void setSourceId(final String sourceId) {
        this.sourceId = sourceId;
    }
 
    public void setXCoordinate(final String xCoordinate) {
        this.xCoordinate = xCoordinate;
    }
 
    public void setYCoordinate(final String yCoordinate) {
        this.yCoordinate = yCoordinate;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProductionCraftProcessSortVO) {
            ProductionCraftProcessSortVO other = (ProductionCraftProcessSortVO) o;
            if (other.canEqual(this)) {
                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$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$targetId = getTargetId();
                Object other$targetId = other.getTargetId();
                if (this$targetId == null) {
                    if (other$targetId != null) {
                        return false;
                    }
                } else if (!this$targetId.equals(other$targetId)) {
                    return false;
                }
                Object this$sourceId = getSourceId();
                Object other$sourceId = other.getSourceId();
                if (this$sourceId == null) {
                    if (other$sourceId != null) {
                        return false;
                    }
                } else if (!this$sourceId.equals(other$sourceId)) {
                    return false;
                }
                Object this$xCoordinate = getXCoordinate();
                Object other$xCoordinate = other.getXCoordinate();
                if (this$xCoordinate == null) {
                    if (other$xCoordinate != null) {
                        return false;
                    }
                } else if (!this$xCoordinate.equals(other$xCoordinate)) {
                    return false;
                }
                Object this$yCoordinate = getYCoordinate();
                Object other$yCoordinate = other.getYCoordinate();
                return this$yCoordinate == null ? other$yCoordinate == null : this$yCoordinate.equals(other$yCoordinate);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProductionCraftProcessSortVO;
    }
 
    public int hashCode() {
        Object $sort = getSort();
        int result = (1 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $id = getId();
        int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
        Object $targetId = getTargetId();
        int result3 = (result2 * 59) + ($targetId == null ? 43 : $targetId.hashCode());
        Object $sourceId = getSourceId();
        int result4 = (result3 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
        Object $xCoordinate = getXCoordinate();
        int result5 = (result4 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
        Object $yCoordinate = getYCoordinate();
        return (result5 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
    }
 
    public String toString() {
        return "ProductionCraftProcessSortVO(sort=" + getSort() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", id=" + getId() + ")";
    }
 
    ProductionCraftProcessSortVO(final Integer sort, final String targetId, final String sourceId, final String xCoordinate, final String yCoordinate, final Long id) {
        this.sort = sort;
        this.targetId = targetId;
        this.sourceId = sourceId;
        this.xCoordinate = xCoordinate;
        this.yCoordinate = yCoordinate;
        this.id = id;
    }
 
    public static ProductionCraftProcessSortVOBuilder builder() {
        return new ProductionCraftProcessSortVOBuilder();
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public String getTargetId() {
        return this.targetId;
    }
 
    public String getSourceId() {
        return this.sourceId;
    }
 
    public String getXCoordinate() {
        return this.xCoordinate;
    }
 
    public String getYCoordinate() {
        return this.yCoordinate;
    }
 
    public Long getId() {
        return this.id;
    }
}