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
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
package com.qianwen.smartman.modules.cps.dto;
 
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/DeviceSimpleDTO.class */
public class DeviceSimpleDTO implements Serializable {
    private Long deviceId;
    private String code;
    private String name;
    private Long deviceTypeId;
    private String deviceTypeName;
    private String machineModel;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/DeviceSimpleDTO$DeviceSimpleDTOBuilder.class */
    public static class DeviceSimpleDTOBuilder {
        private Long deviceId;
        private String code;
        private String name;
        private Long deviceTypeId;
        private String deviceTypeName;
        private String machineModel;
 
        DeviceSimpleDTOBuilder() {
        }
 
        public DeviceSimpleDTOBuilder deviceId(final Long deviceId) {
            this.deviceId = deviceId;
            return this;
        }
 
        public DeviceSimpleDTOBuilder code(final String code) {
            this.code = code;
            return this;
        }
 
        public DeviceSimpleDTOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public DeviceSimpleDTOBuilder deviceTypeId(final Long deviceTypeId) {
            this.deviceTypeId = deviceTypeId;
            return this;
        }
 
        public DeviceSimpleDTOBuilder deviceTypeName(final String deviceTypeName) {
            this.deviceTypeName = deviceTypeName;
            return this;
        }
 
        public DeviceSimpleDTOBuilder machineModel(final String machineModel) {
            this.machineModel = machineModel;
            return this;
        }
 
        public DeviceSimpleDTO build() {
            return new DeviceSimpleDTO(this.deviceId, this.code, this.name, this.deviceTypeId, this.deviceTypeName, this.machineModel);
        }
 
        public String toString() {
            return "DeviceSimpleDTO.DeviceSimpleDTOBuilder(deviceId=" + this.deviceId + ", code=" + this.code + ", name=" + this.name + ", deviceTypeId=" + this.deviceTypeId + ", deviceTypeName=" + this.deviceTypeName + ", machineModel=" + this.machineModel + ")";
        }
    }
 
    public void setDeviceId(final Long deviceId) {
        this.deviceId = deviceId;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }
 
    public void setDeviceTypeName(final String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
    }
 
    public void setMachineModel(final String machineModel) {
        this.machineModel = machineModel;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DeviceSimpleDTO) {
            DeviceSimpleDTO other = (DeviceSimpleDTO) o;
            if (other.canEqual(this)) {
                Object this$deviceId = getDeviceId();
                Object other$deviceId = other.getDeviceId();
                if (this$deviceId == null) {
                    if (other$deviceId != null) {
                        return false;
                    }
                } else if (!this$deviceId.equals(other$deviceId)) {
                    return false;
                }
                Object this$deviceTypeId = getDeviceTypeId();
                Object other$deviceTypeId = other.getDeviceTypeId();
                if (this$deviceTypeId == null) {
                    if (other$deviceTypeId != null) {
                        return false;
                    }
                } else if (!this$deviceTypeId.equals(other$deviceTypeId)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$deviceTypeName = getDeviceTypeName();
                Object other$deviceTypeName = other.getDeviceTypeName();
                if (this$deviceTypeName == null) {
                    if (other$deviceTypeName != null) {
                        return false;
                    }
                } else if (!this$deviceTypeName.equals(other$deviceTypeName)) {
                    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 DeviceSimpleDTO;
    }
 
    public int hashCode() {
        Object $deviceId = getDeviceId();
        int result = (1 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
        Object $deviceTypeId = getDeviceTypeId();
        int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
        Object $code = getCode();
        int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $deviceTypeName = getDeviceTypeName();
        int result5 = (result4 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
        Object $machineModel = getMachineModel();
        return (result5 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
    }
 
    public String toString() {
        return "DeviceSimpleDTO(deviceId=" + getDeviceId() + ", code=" + getCode() + ", name=" + getName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", machineModel=" + getMachineModel() + ")";
    }
 
    public static DeviceSimpleDTOBuilder builder() {
        return new DeviceSimpleDTOBuilder();
    }
 
    public DeviceSimpleDTO(final Long deviceId, final String code, final String name, final Long deviceTypeId, final String deviceTypeName, final String machineModel) {
        this.deviceId = deviceId;
        this.code = code;
        this.name = name;
        this.deviceTypeId = deviceTypeId;
        this.deviceTypeName = deviceTypeName;
        this.machineModel = machineModel;
    }
 
    public DeviceSimpleDTO() {
    }
 
    public Long getDeviceId() {
        return this.deviceId;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
 
    public String getDeviceTypeName() {
        return this.deviceTypeName;
    }
 
    public String getMachineModel() {
        return this.machineModel;
    }
}