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
package com.skyline.electricity.entity;
 
public class UserPos
{
    private String id;
    private String mainPos;
    private String posId;
    private String posName;
    private String userId;
    private String userName;
    
    public String getId() {
        return this.id;
    }
    
    public String getMainPos() {
        return this.mainPos;
    }
    
    public String getPosId() {
        return this.posId;
    }
    
    public String getPosName() {
        return this.posName;
    }
    
    public String getUserId() {
        return this.userId;
    }
    
    public String getUserName() {
        return this.userName;
    }
    
    public void setId(final String id) {
        this.id = id;
    }
    
    public void setMainPos(final String mainPos) {
        this.mainPos = mainPos;
    }
    
    public void setPosId(final String posId) {
        this.posId = posId;
    }
    
    public void setPosName(final String posName) {
        this.posName = posName;
    }
    
    public void setUserId(final String userId) {
        this.userId = userId;
    }
    
    public void setUserName(final String userName) {
        this.userName = userName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserPos)) {
            return false;
        }
        final UserPos other = (UserPos)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$mainPos = this.getMainPos();
        final Object other$mainPos = other.getMainPos();
        Label_0102: {
            if (this$mainPos == null) {
                if (other$mainPos == null) {
                    break Label_0102;
                }
            }
            else if (this$mainPos.equals(other$mainPos)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$posId = this.getPosId();
        final Object other$posId = other.getPosId();
        Label_0139: {
            if (this$posId == null) {
                if (other$posId == null) {
                    break Label_0139;
                }
            }
            else if (this$posId.equals(other$posId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$posName = this.getPosName();
        final Object other$posName = other.getPosName();
        Label_0176: {
            if (this$posName == null) {
                if (other$posName == null) {
                    break Label_0176;
                }
            }
            else if (this$posName.equals(other$posName)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$userId = this.getUserId();
        final Object other$userId = other.getUserId();
        Label_0213: {
            if (this$userId == null) {
                if (other$userId == null) {
                    break Label_0213;
                }
            }
            else if (this$userId.equals(other$userId)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$userName = this.getUserName();
        final Object other$userName = other.getUserName();
        if (this$userName == null) {
            if (other$userName == null) {
                return true;
            }
        }
        else if (this$userName.equals(other$userName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof UserPos;
    }
    
    @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 $mainPos = this.getMainPos();
        result = result * 59 + (($mainPos == null) ? 43 : $mainPos.hashCode());
        final Object $posId = this.getPosId();
        result = result * 59 + (($posId == null) ? 43 : $posId.hashCode());
        final Object $posName = this.getPosName();
        result = result * 59 + (($posName == null) ? 43 : $posName.hashCode());
        final Object $userId = this.getUserId();
        result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
        final Object $userName = this.getUserName();
        result = result * 59 + (($userName == null) ? 43 : $userName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "UserPos(id=" + this.getId() + ", mainPos=" + this.getMainPos() + ", posId=" + this.getPosId() + ", posName=" + this.getPosName() + ", userId=" + this.getUserId() + ", userName=" + this.getUserName() + ")";
    }
}