yangys
2024-05-06 e19227de97d21c10fd22536f85c8153e63072d0c
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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
package com.qianwen.smartman.modules.cps.vo;
 
import io.swagger.annotations.ApiModelProperty;
 
public class WorkstationWorkbenchVO {
    @ApiModelProperty(value = "工作台ID", dataType = "java.lang.String")
    private Long id;
    @ApiModelProperty(value = "工位ID", dataType = "java.lang.String")
    private Long workstationId;
    @ApiModelProperty("工位编码")
    private String workstationCode;
    @ApiModelProperty("工位名称")
    private String workstationName;
    @ApiModelProperty("工位涉笔类型")
    private Integer deviceType;
    @ApiModelProperty("工位加工属性")
    private Integer properties;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("工作台名称")
    private String name;
    @ApiModelProperty("工作台是否为默认:1/是,0/否")
    private Integer workbenchDefault;
    @ApiModelProperty("是否删除")
    private Integer isDeleted;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationWorkbenchVO$WorkstationWorkbenchVOBuilder.class */
    public static class WorkstationWorkbenchVOBuilder {
        private Long id;
        private Long workstationId;
        private String workstationCode;
        private String workstationName;
        private Integer deviceType;
        private Integer properties;
        private Integer sort;
        private String name;
        private Integer workbenchDefault;
        private Integer isDeleted;
 
        WorkstationWorkbenchVOBuilder() {
        }
 
        public WorkstationWorkbenchVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder workstationId(final Long workstationId) {
            this.workstationId = workstationId;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder workstationCode(final String workstationCode) {
            this.workstationCode = workstationCode;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder workstationName(final String workstationName) {
            this.workstationName = workstationName;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder deviceType(final Integer deviceType) {
            this.deviceType = deviceType;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder properties(final Integer properties) {
            this.properties = properties;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder sort(final Integer sort) {
            this.sort = sort;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder workbenchDefault(final Integer workbenchDefault) {
            this.workbenchDefault = workbenchDefault;
            return this;
        }
 
        public WorkstationWorkbenchVOBuilder isDeleted(final Integer isDeleted) {
            this.isDeleted = isDeleted;
            return this;
        }
 
        public WorkstationWorkbenchVO build() {
            return new WorkstationWorkbenchVO(this.id, this.workstationId, this.workstationCode, this.workstationName, this.deviceType, this.properties, this.sort, this.name, this.workbenchDefault, this.isDeleted);
        }
 
        public String toString() {
            return "WorkstationWorkbenchVO.WorkstationWorkbenchVOBuilder(id=" + this.id + ", workstationId=" + this.workstationId + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", sort=" + this.sort + ", name=" + this.name + ", workbenchDefault=" + this.workbenchDefault + ", isDeleted=" + this.isDeleted + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
    }
 
    public void setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
    }
 
    public void setDeviceType(final Integer deviceType) {
        this.deviceType = deviceType;
    }
 
    public void setProperties(final Integer properties) {
        this.properties = properties;
    }
 
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setWorkbenchDefault(final Integer workbenchDefault) {
        this.workbenchDefault = workbenchDefault;
    }
 
    public void setIsDeleted(final Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationWorkbenchVO) {
            WorkstationWorkbenchVO other = (WorkstationWorkbenchVO) o;
            if (other.canEqual(this)) {
                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$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$deviceType = getDeviceType();
                Object other$deviceType = other.getDeviceType();
                if (this$deviceType == null) {
                    if (other$deviceType != null) {
                        return false;
                    }
                } else if (!this$deviceType.equals(other$deviceType)) {
                    return false;
                }
                Object this$properties = getProperties();
                Object other$properties = other.getProperties();
                if (this$properties == null) {
                    if (other$properties != null) {
                        return false;
                    }
                } else if (!this$properties.equals(other$properties)) {
                    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$workbenchDefault = getWorkbenchDefault();
                Object other$workbenchDefault = other.getWorkbenchDefault();
                if (this$workbenchDefault == null) {
                    if (other$workbenchDefault != null) {
                        return false;
                    }
                } else if (!this$workbenchDefault.equals(other$workbenchDefault)) {
                    return false;
                }
                Object this$isDeleted = getIsDeleted();
                Object other$isDeleted = other.getIsDeleted();
                if (this$isDeleted == null) {
                    if (other$isDeleted != null) {
                        return false;
                    }
                } else if (!this$isDeleted.equals(other$isDeleted)) {
                    return false;
                }
                Object this$workstationCode = getWorkstationCode();
                Object other$workstationCode = other.getWorkstationCode();
                if (this$workstationCode == null) {
                    if (other$workstationCode != null) {
                        return false;
                    }
                } else if (!this$workstationCode.equals(other$workstationCode)) {
                    return false;
                }
                Object this$workstationName = getWorkstationName();
                Object other$workstationName = other.getWorkstationName();
                if (this$workstationName == null) {
                    if (other$workstationName != null) {
                        return false;
                    }
                } else if (!this$workstationName.equals(other$workstationName)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                return this$name == null ? other$name == null : this$name.equals(other$name);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationWorkbenchVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $workstationId = getWorkstationId();
        int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $deviceType = getDeviceType();
        int result3 = (result2 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
        Object $properties = getProperties();
        int result4 = (result3 * 59) + ($properties == null ? 43 : $properties.hashCode());
        Object $sort = getSort();
        int result5 = (result4 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $workbenchDefault = getWorkbenchDefault();
        int result6 = (result5 * 59) + ($workbenchDefault == null ? 43 : $workbenchDefault.hashCode());
        Object $isDeleted = getIsDeleted();
        int result7 = (result6 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result8 = (result7 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $workstationName = getWorkstationName();
        int result9 = (result8 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $name = getName();
        return (result9 * 59) + ($name == null ? 43 : $name.hashCode());
    }
 
    public String toString() {
        return "WorkstationWorkbenchVO(id=" + getId() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", sort=" + getSort() + ", name=" + getName() + ", workbenchDefault=" + getWorkbenchDefault() + ", isDeleted=" + getIsDeleted() + ")";
    }
 
    public static WorkstationWorkbenchVOBuilder builder() {
        return new WorkstationWorkbenchVOBuilder();
    }
 
    public WorkstationWorkbenchVO(final Long id, final Long workstationId, final String workstationCode, final String workstationName, final Integer deviceType, final Integer properties, final Integer sort, final String name, final Integer workbenchDefault, final Integer isDeleted) {
        this.id = id;
        this.workstationId = workstationId;
        this.workstationCode = workstationCode;
        this.workstationName = workstationName;
        this.deviceType = deviceType;
        this.properties = properties;
        this.sort = sort;
        this.name = name;
        this.workbenchDefault = workbenchDefault;
        this.isDeleted = isDeleted;
    }
 
    public WorkstationWorkbenchVO() {
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public Integer getDeviceType() {
        return this.deviceType;
    }
 
    public Integer getProperties() {
        return this.properties;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Integer getWorkbenchDefault() {
        return this.workbenchDefault;
    }
 
    public Integer getIsDeleted() {
        return this.isDeleted;
    }
}