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
package com.qianwen.smartman.modules.cps.dto;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_machine")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MachineDTO.class */
public class MachineDTO extends TenantEntity {
    private static final long serialVersionUID = -883848031177958203L;
    public String extendId;
    private String machineCode;
    private String machineName;
    private Integer collectSwitch;
    private String collectDriver;
    private String typeName;
    private String machineType;
    private String machineModel;
 
    public void setExtendId(final String extendId) {
        this.extendId = extendId;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setCollectSwitch(final Integer collectSwitch) {
        this.collectSwitch = collectSwitch;
    }
 
    public void setCollectDriver(final String collectDriver) {
        this.collectDriver = collectDriver;
    }
 
    public void setTypeName(final String typeName) {
        this.typeName = typeName;
    }
 
    public void setMachineType(final String machineType) {
        this.machineType = machineType;
    }
 
    public void setMachineModel(final String machineModel) {
        this.machineModel = machineModel;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MachineDTO) {
            MachineDTO other = (MachineDTO) o;
            if (other.canEqual(this)) {
                Object this$collectSwitch = getCollectSwitch();
                Object other$collectSwitch = other.getCollectSwitch();
                if (this$collectSwitch == null) {
                    if (other$collectSwitch != null) {
                        return false;
                    }
                } else if (!this$collectSwitch.equals(other$collectSwitch)) {
                    return false;
                }
                Object this$extendId = getExtendId();
                Object other$extendId = other.getExtendId();
                if (this$extendId == null) {
                    if (other$extendId != null) {
                        return false;
                    }
                } else if (!this$extendId.equals(other$extendId)) {
                    return false;
                }
                Object this$machineCode = getMachineCode();
                Object other$machineCode = other.getMachineCode();
                if (this$machineCode == null) {
                    if (other$machineCode != null) {
                        return false;
                    }
                } else if (!this$machineCode.equals(other$machineCode)) {
                    return false;
                }
                Object this$machineName = getMachineName();
                Object other$machineName = other.getMachineName();
                if (this$machineName == null) {
                    if (other$machineName != null) {
                        return false;
                    }
                } else if (!this$machineName.equals(other$machineName)) {
                    return false;
                }
                Object this$collectDriver = getCollectDriver();
                Object other$collectDriver = other.getCollectDriver();
                if (this$collectDriver == null) {
                    if (other$collectDriver != null) {
                        return false;
                    }
                } else if (!this$collectDriver.equals(other$collectDriver)) {
                    return false;
                }
                Object this$typeName = getTypeName();
                Object other$typeName = other.getTypeName();
                if (this$typeName == null) {
                    if (other$typeName != null) {
                        return false;
                    }
                } else if (!this$typeName.equals(other$typeName)) {
                    return false;
                }
                Object this$machineType = getMachineType();
                Object other$machineType = other.getMachineType();
                if (this$machineType == null) {
                    if (other$machineType != null) {
                        return false;
                    }
                } else if (!this$machineType.equals(other$machineType)) {
                    return false;
                }
                Object this$machineModel = getMachineModel();
                Object other$machineModel = other.getMachineModel();
                return this$machineModel == null ? other$machineModel == null : this$machineModel.equals(other$machineModel);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MachineDTO;
    }
 
    public int hashCode() {
        Object $collectSwitch = getCollectSwitch();
        int result = (1 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
        Object $extendId = getExtendId();
        int result2 = (result * 59) + ($extendId == null ? 43 : $extendId.hashCode());
        Object $machineCode = getMachineCode();
        int result3 = (result2 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result4 = (result3 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $collectDriver = getCollectDriver();
        int result5 = (result4 * 59) + ($collectDriver == null ? 43 : $collectDriver.hashCode());
        Object $typeName = getTypeName();
        int result6 = (result5 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
        Object $machineType = getMachineType();
        int result7 = (result6 * 59) + ($machineType == null ? 43 : $machineType.hashCode());
        Object $machineModel = getMachineModel();
        return (result7 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
    }
 
    public String toString() {
        return "MachineDTO(extendId=" + getExtendId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", collectSwitch=" + getCollectSwitch() + ", collectDriver=" + getCollectDriver() + ", typeName=" + getTypeName() + ", machineType=" + getMachineType() + ", machineModel=" + getMachineModel() + ")";
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MachineDTO$MachineDTOBuilder.class */
    public static class MachineDTOBuilder {
        private String extendId;
        private String machineCode;
        private String machineName;
        private Integer collectSwitch;
        private String collectDriver;
        private String typeName;
        private String machineType;
        private String machineModel;
 
        MachineDTOBuilder() {
        }
 
        public MachineDTOBuilder extendId(final String extendId) {
            this.extendId = extendId;
            return this;
        }
 
        public MachineDTOBuilder machineCode(final String machineCode) {
            this.machineCode = machineCode;
            return this;
        }
 
        public MachineDTOBuilder machineName(final String machineName) {
            this.machineName = machineName;
            return this;
        }
 
        public MachineDTOBuilder collectSwitch(final Integer collectSwitch) {
            this.collectSwitch = collectSwitch;
            return this;
        }
 
        public MachineDTOBuilder collectDriver(final String collectDriver) {
            this.collectDriver = collectDriver;
            return this;
        }
 
        public MachineDTOBuilder typeName(final String typeName) {
            this.typeName = typeName;
            return this;
        }
 
        public MachineDTOBuilder machineType(final String machineType) {
            this.machineType = machineType;
            return this;
        }
 
        public MachineDTOBuilder machineModel(final String machineModel) {
            this.machineModel = machineModel;
            return this;
        }
 
        public MachineDTO build() {
            return new MachineDTO(this.extendId, this.machineCode, this.machineName, this.collectSwitch, this.collectDriver, this.typeName, this.machineType, this.machineModel);
        }
 
        public String toString() {
            return "MachineDTO.MachineDTOBuilder(extendId=" + this.extendId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", collectSwitch=" + this.collectSwitch + ", collectDriver=" + this.collectDriver + ", typeName=" + this.typeName + ", machineType=" + this.machineType + ", machineModel=" + this.machineModel + ")";
        }
    }
 
    public static MachineDTOBuilder builder() {
        return new MachineDTOBuilder();
    }
 
    public MachineDTO(final String extendId, final String machineCode, final String machineName, final Integer collectSwitch, final String collectDriver, final String typeName, final String machineType, final String machineModel) {
        this.extendId = extendId;
        this.machineCode = machineCode;
        this.machineName = machineName;
        this.collectSwitch = collectSwitch;
        this.collectDriver = collectDriver;
        this.typeName = typeName;
        this.machineType = machineType;
        this.machineModel = machineModel;
    }
 
    public MachineDTO() {
    }
 
    public String getExtendId() {
        return this.extendId;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public Integer getCollectSwitch() {
        return this.collectSwitch;
    }
 
    public String getCollectDriver() {
        return this.collectDriver;
    }
 
    public String getTypeName() {
        return this.typeName;
    }
 
    public String getMachineType() {
        return this.machineType;
    }
 
    public String getMachineModel() {
        return this.machineModel;
    }
}