leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
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
package com.skyline.electricity.entity;
 
public class PgSpec
{
    private Integer id;
    private String code;
    private String name;
    private String descr;
    private String groupId;
    private String remarks;
    private String siteId;
    private String isActive;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getCode() {
        return this.code;
    }
    
    public String getName() {
        return this.name;
    }
    
    public String getDescr() {
        return this.descr;
    }
    
    public String getGroupId() {
        return this.groupId;
    }
    
    public String getRemarks() {
        return this.remarks;
    }
    
    public String getSiteId() {
        return this.siteId;
    }
    
    public String getIsActive() {
        return this.isActive;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setCode(final String code) {
        this.code = code;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setDescr(final String descr) {
        this.descr = descr;
    }
    
    public void setGroupId(final String groupId) {
        this.groupId = groupId;
    }
    
    public void setRemarks(final String remarks) {
        this.remarks = remarks;
    }
    
    public void setSiteId(final String siteId) {
        this.siteId = siteId;
    }
    
    public void setIsActive(final String isActive) {
        this.isActive = isActive;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PgSpec)) {
            return false;
        }
        final PgSpec other = (PgSpec)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$code = this.getCode();
        final Object other$code = other.getCode();
        Label_0102: {
            if (this$code == null) {
                if (other$code == null) {
                    break Label_0102;
                }
            }
            else if (this$code.equals(other$code)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        Label_0139: {
            if (this$name == null) {
                if (other$name == null) {
                    break Label_0139;
                }
            }
            else if (this$name.equals(other$name)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$descr = this.getDescr();
        final Object other$descr = other.getDescr();
        Label_0176: {
            if (this$descr == null) {
                if (other$descr == null) {
                    break Label_0176;
                }
            }
            else if (this$descr.equals(other$descr)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$groupId = this.getGroupId();
        final Object other$groupId = other.getGroupId();
        Label_0213: {
            if (this$groupId == null) {
                if (other$groupId == null) {
                    break Label_0213;
                }
            }
            else if (this$groupId.equals(other$groupId)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$remarks = this.getRemarks();
        final Object other$remarks = other.getRemarks();
        Label_0250: {
            if (this$remarks == null) {
                if (other$remarks == null) {
                    break Label_0250;
                }
            }
            else if (this$remarks.equals(other$remarks)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$siteId = this.getSiteId();
        final Object other$siteId = other.getSiteId();
        Label_0287: {
            if (this$siteId == null) {
                if (other$siteId == null) {
                    break Label_0287;
                }
            }
            else if (this$siteId.equals(other$siteId)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$isActive = this.getIsActive();
        final Object other$isActive = other.getIsActive();
        if (this$isActive == null) {
            if (other$isActive == null) {
                return true;
            }
        }
        else if (this$isActive.equals(other$isActive)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof PgSpec;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $code = this.getCode();
        result = result * 59 + (($code == null) ? 43 : $code.hashCode());
        final Object $name = this.getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        final Object $descr = this.getDescr();
        result = result * 59 + (($descr == null) ? 43 : $descr.hashCode());
        final Object $groupId = this.getGroupId();
        result = result * 59 + (($groupId == null) ? 43 : $groupId.hashCode());
        final Object $remarks = this.getRemarks();
        result = result * 59 + (($remarks == null) ? 43 : $remarks.hashCode());
        final Object $siteId = this.getSiteId();
        result = result * 59 + (($siteId == null) ? 43 : $siteId.hashCode());
        final Object $isActive = this.getIsActive();
        result = result * 59 + (($isActive == null) ? 43 : $isActive.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "PgSpec(id=" + this.getId() + ", code=" + this.getCode() + ", name=" + this.getName() + ", descr=" + this.getDescr() + ", groupId=" + this.getGroupId() + ", remarks=" + this.getRemarks() + ", siteId=" + this.getSiteId() + ", isActive=" + this.getIsActive() + ")";
    }
}