yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
package com.qianwen.smartman.modules.cps.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MainProcessSaveDTO.class */
public class MainProcessSaveDTO implements Serializable {
    private static final long serialVersionUID = -3288821415413216308L;
    @ApiModelProperty("版本id")
    private Long versionId;
    @ApiModelProperty("主序工序编号")
    private String mainProcessCode;
    @ApiModelProperty("主序工序名称")
    private String mainProcessName;
    @ApiModelProperty("顺序")
    private Integer sort;
    @ApiModelProperty("目标ID")
    private String targetId;
    @ApiModelProperty("资源ID")
    private String sourceId;
    @ApiModelProperty("x坐标")
    private String xCoordinate;
    @ApiModelProperty("y坐标")
    private String yCoordinate;
    @ApiModelProperty("主序的高度")
    private Integer height;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MainProcessSaveDTO$MainProcessSaveDTOBuilder.class */
    public static class MainProcessSaveDTOBuilder {
        private Long versionId;
        private String mainProcessCode;
        private String mainProcessName;
        private Integer sort;
        private String targetId;
        private String sourceId;
        private String xCoordinate;
        private String yCoordinate;
        private Integer height;
 
        MainProcessSaveDTOBuilder() {
        }
 
        public MainProcessSaveDTOBuilder versionId(final Long versionId) {
            this.versionId = versionId;
            return this;
        }
 
        public MainProcessSaveDTOBuilder mainProcessCode(final String mainProcessCode) {
            this.mainProcessCode = mainProcessCode;
            return this;
        }
 
        public MainProcessSaveDTOBuilder mainProcessName(final String mainProcessName) {
            this.mainProcessName = mainProcessName;
            return this;
        }
 
        public MainProcessSaveDTOBuilder sort(final Integer sort) {
            this.sort = sort;
            return this;
        }
 
        public MainProcessSaveDTOBuilder targetId(final String targetId) {
            this.targetId = targetId;
            return this;
        }
 
        public MainProcessSaveDTOBuilder sourceId(final String sourceId) {
            this.sourceId = sourceId;
            return this;
        }
 
        public MainProcessSaveDTOBuilder xCoordinate(final String xCoordinate) {
            this.xCoordinate = xCoordinate;
            return this;
        }
 
        public MainProcessSaveDTOBuilder yCoordinate(final String yCoordinate) {
            this.yCoordinate = yCoordinate;
            return this;
        }
 
        public MainProcessSaveDTOBuilder height(final Integer height) {
            this.height = height;
            return this;
        }
 
        public MainProcessSaveDTO build() {
            return new MainProcessSaveDTO(this.versionId, this.mainProcessCode, this.mainProcessName, this.sort, this.targetId, this.sourceId, this.xCoordinate, this.yCoordinate, this.height);
        }
 
        public String toString() {
            return "MainProcessSaveDTO.MainProcessSaveDTOBuilder(versionId=" + this.versionId + ", mainProcessCode=" + this.mainProcessCode + ", mainProcessName=" + this.mainProcessName + ", sort=" + this.sort + ", targetId=" + this.targetId + ", sourceId=" + this.sourceId + ", xCoordinate=" + this.xCoordinate + ", yCoordinate=" + this.yCoordinate + ", height=" + this.height + ")";
        }
    }
 
    public void setVersionId(final Long versionId) {
        this.versionId = versionId;
    }
 
    public void setMainProcessCode(final String mainProcessCode) {
        this.mainProcessCode = mainProcessCode;
    }
 
    public void setMainProcessName(final String mainProcessName) {
        this.mainProcessName = mainProcessName;
    }
 
    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 setHeight(final Integer height) {
        this.height = height;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MainProcessSaveDTO) {
            MainProcessSaveDTO other = (MainProcessSaveDTO) 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$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$height = getHeight();
                Object other$height = other.getHeight();
                if (this$height == null) {
                    if (other$height != null) {
                        return false;
                    }
                } else if (!this$height.equals(other$height)) {
                    return false;
                }
                Object this$mainProcessCode = getMainProcessCode();
                Object other$mainProcessCode = other.getMainProcessCode();
                if (this$mainProcessCode == null) {
                    if (other$mainProcessCode != null) {
                        return false;
                    }
                } else if (!this$mainProcessCode.equals(other$mainProcessCode)) {
                    return false;
                }
                Object this$mainProcessName = getMainProcessName();
                Object other$mainProcessName = other.getMainProcessName();
                if (this$mainProcessName == null) {
                    if (other$mainProcessName != null) {
                        return false;
                    }
                } else if (!this$mainProcessName.equals(other$mainProcessName)) {
                    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 MainProcessSaveDTO;
    }
 
    public int hashCode() {
        Object $versionId = getVersionId();
        int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode());
        Object $sort = getSort();
        int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $height = getHeight();
        int result3 = (result2 * 59) + ($height == null ? 43 : $height.hashCode());
        Object $mainProcessCode = getMainProcessCode();
        int result4 = (result3 * 59) + ($mainProcessCode == null ? 43 : $mainProcessCode.hashCode());
        Object $mainProcessName = getMainProcessName();
        int result5 = (result4 * 59) + ($mainProcessName == null ? 43 : $mainProcessName.hashCode());
        Object $targetId = getTargetId();
        int result6 = (result5 * 59) + ($targetId == null ? 43 : $targetId.hashCode());
        Object $sourceId = getSourceId();
        int result7 = (result6 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
        Object $xCoordinate = getXCoordinate();
        int result8 = (result7 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
        Object $yCoordinate = getYCoordinate();
        return (result8 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
    }
 
    public String toString() {
        return "MainProcessSaveDTO(versionId=" + getVersionId() + ", mainProcessCode=" + getMainProcessCode() + ", mainProcessName=" + getMainProcessName() + ", sort=" + getSort() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", height=" + getHeight() + ")";
    }
 
    public static MainProcessSaveDTOBuilder builder() {
        return new MainProcessSaveDTOBuilder();
    }
 
    public MainProcessSaveDTO() {
    }
 
    public MainProcessSaveDTO(final Long versionId, final String mainProcessCode, final String mainProcessName, final Integer sort, final String targetId, final String sourceId, final String xCoordinate, final String yCoordinate, final Integer height) {
        this.versionId = versionId;
        this.mainProcessCode = mainProcessCode;
        this.mainProcessName = mainProcessName;
        this.sort = sort;
        this.targetId = targetId;
        this.sourceId = sourceId;
        this.xCoordinate = xCoordinate;
        this.yCoordinate = yCoordinate;
        this.height = height;
    }
 
    public Long getVersionId() {
        return this.versionId;
    }
 
    public String getMainProcessCode() {
        return this.mainProcessCode;
    }
 
    public String getMainProcessName() {
        return this.mainProcessName;
    }
 
    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 Integer getHeight() {
        return this.height;
    }
}