yangys
2024-03-27 80d01261e84d3c0f55cf2d17a56539b5c27a8485
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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_user")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/User.class */
public class User extends TenantEntity {
    private static final long serialVersionUID = 1;
    private String code;
    private Integer userType;
    @ApiModelProperty("账号")
    private String account;
    private String password;
    @ApiModelProperty("真实名称")
    private String realName;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号")
    private String phone;
    private Date birthday;
    @ApiModelProperty("性别")
    private Integer sex;
    @ApiModelProperty("角色id")
    private String roleId;
    private String deptId;
    private String postId;
    private Integer pwdSecurityLevel;
    private Date pwdUpdateDate;
    private String pwdUpdateRecord;
    @TableField(exist = false)
    private Long employeeId;
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setUserType(final Integer userType) {
        this.userType = userType;
    }
 
    public void setAccount(final String account) {
        this.account = account;
    }
 
    public void setPassword(final String password) {
        this.password = password;
    }
 
    public void setRealName(final String realName) {
        this.realName = realName;
    }
 
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
 
    public void setEmail(final String email) {
        this.email = email;
    }
 
    public void setPhone(final String phone) {
        this.phone = phone;
    }
 
    public void setBirthday(final Date birthday) {
        this.birthday = birthday;
    }
 
    public void setSex(final Integer sex) {
        this.sex = sex;
    }
 
    public void setRoleId(final String roleId) {
        this.roleId = roleId;
    }
 
    public void setDeptId(final String deptId) {
        this.deptId = deptId;
    }
 
    public void setPostId(final String postId) {
        this.postId = postId;
    }
 
    public void setPwdSecurityLevel(final Integer pwdSecurityLevel) {
        this.pwdSecurityLevel = pwdSecurityLevel;
    }
 
    public void setPwdUpdateDate(final Date pwdUpdateDate) {
        this.pwdUpdateDate = pwdUpdateDate;
    }
 
    public void setPwdUpdateRecord(final String pwdUpdateRecord) {
        this.pwdUpdateRecord = pwdUpdateRecord;
    }
 
    public void setEmployeeId(final Long employeeId) {
        this.employeeId = employeeId;
    }
 
    public String toString() {
        return "User(code=" + getCode() + ", userType=" + getUserType() + ", account=" + getAccount() + ", password=" + getPassword() + ", realName=" + getRealName() + ", avatar=" + getAvatar() + ", email=" + getEmail() + ", phone=" + getPhone() + ", birthday=" + getBirthday() + ", sex=" + getSex() + ", roleId=" + getRoleId() + ", deptId=" + getDeptId() + ", postId=" + getPostId() + ", pwdSecurityLevel=" + getPwdSecurityLevel() + ", pwdUpdateDate=" + getPwdUpdateDate() + ", pwdUpdateRecord=" + getPwdUpdateRecord() + ", employeeId=" + getEmployeeId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof User) {
            User other = (User) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$userType = getUserType();
                Object other$userType = other.getUserType();
                if (this$userType == null) {
                    if (other$userType != null) {
                        return false;
                    }
                } else if (!this$userType.equals(other$userType)) {
                    return false;
                }
                Object this$sex = getSex();
                Object other$sex = other.getSex();
                if (this$sex == null) {
                    if (other$sex != null) {
                        return false;
                    }
                } else if (!this$sex.equals(other$sex)) {
                    return false;
                }
                Object this$pwdSecurityLevel = getPwdSecurityLevel();
                Object other$pwdSecurityLevel = other.getPwdSecurityLevel();
                if (this$pwdSecurityLevel == null) {
                    if (other$pwdSecurityLevel != null) {
                        return false;
                    }
                } else if (!this$pwdSecurityLevel.equals(other$pwdSecurityLevel)) {
                    return false;
                }
                Object this$employeeId = getEmployeeId();
                Object other$employeeId = other.getEmployeeId();
                if (this$employeeId == null) {
                    if (other$employeeId != null) {
                        return false;
                    }
                } else if (!this$employeeId.equals(other$employeeId)) {
                    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$account = getAccount();
                Object other$account = other.getAccount();
                if (this$account == null) {
                    if (other$account != null) {
                        return false;
                    }
                } else if (!this$account.equals(other$account)) {
                    return false;
                }
                Object this$password = getPassword();
                Object other$password = other.getPassword();
                if (this$password == null) {
                    if (other$password != null) {
                        return false;
                    }
                } else if (!this$password.equals(other$password)) {
                    return false;
                }
                Object this$realName = getRealName();
                Object other$realName = other.getRealName();
                if (this$realName == null) {
                    if (other$realName != null) {
                        return false;
                    }
                } else if (!this$realName.equals(other$realName)) {
                    return false;
                }
                Object this$avatar = getAvatar();
                Object other$avatar = other.getAvatar();
                if (this$avatar == null) {
                    if (other$avatar != null) {
                        return false;
                    }
                } else if (!this$avatar.equals(other$avatar)) {
                    return false;
                }
                Object this$email = getEmail();
                Object other$email = other.getEmail();
                if (this$email == null) {
                    if (other$email != null) {
                        return false;
                    }
                } else if (!this$email.equals(other$email)) {
                    return false;
                }
                Object this$phone = getPhone();
                Object other$phone = other.getPhone();
                if (this$phone == null) {
                    if (other$phone != null) {
                        return false;
                    }
                } else if (!this$phone.equals(other$phone)) {
                    return false;
                }
                Object this$birthday = getBirthday();
                Object other$birthday = other.getBirthday();
                if (this$birthday == null) {
                    if (other$birthday != null) {
                        return false;
                    }
                } else if (!this$birthday.equals(other$birthday)) {
                    return false;
                }
                Object this$roleId = getRoleId();
                Object other$roleId = other.getRoleId();
                if (this$roleId == null) {
                    if (other$roleId != null) {
                        return false;
                    }
                } else if (!this$roleId.equals(other$roleId)) {
                    return false;
                }
                Object this$deptId = getDeptId();
                Object other$deptId = other.getDeptId();
                if (this$deptId == null) {
                    if (other$deptId != null) {
                        return false;
                    }
                } else if (!this$deptId.equals(other$deptId)) {
                    return false;
                }
                Object this$postId = getPostId();
                Object other$postId = other.getPostId();
                if (this$postId == null) {
                    if (other$postId != null) {
                        return false;
                    }
                } else if (!this$postId.equals(other$postId)) {
                    return false;
                }
                Object this$pwdUpdateDate = getPwdUpdateDate();
                Object other$pwdUpdateDate = other.getPwdUpdateDate();
                if (this$pwdUpdateDate == null) {
                    if (other$pwdUpdateDate != null) {
                        return false;
                    }
                } else if (!this$pwdUpdateDate.equals(other$pwdUpdateDate)) {
                    return false;
                }
                Object this$pwdUpdateRecord = getPwdUpdateRecord();
                Object other$pwdUpdateRecord = other.getPwdUpdateRecord();
                return this$pwdUpdateRecord == null ? other$pwdUpdateRecord == null : this$pwdUpdateRecord.equals(other$pwdUpdateRecord);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof User;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $userType = getUserType();
        int result2 = (result * 59) + ($userType == null ? 43 : $userType.hashCode());
        Object $sex = getSex();
        int result3 = (result2 * 59) + ($sex == null ? 43 : $sex.hashCode());
        Object $pwdSecurityLevel = getPwdSecurityLevel();
        int result4 = (result3 * 59) + ($pwdSecurityLevel == null ? 43 : $pwdSecurityLevel.hashCode());
        Object $employeeId = getEmployeeId();
        int result5 = (result4 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
        Object $code = getCode();
        int result6 = (result5 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $account = getAccount();
        int result7 = (result6 * 59) + ($account == null ? 43 : $account.hashCode());
        Object $password = getPassword();
        int result8 = (result7 * 59) + ($password == null ? 43 : $password.hashCode());
        Object $realName = getRealName();
        int result9 = (result8 * 59) + ($realName == null ? 43 : $realName.hashCode());
        Object $avatar = getAvatar();
        int result10 = (result9 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
        Object $email = getEmail();
        int result11 = (result10 * 59) + ($email == null ? 43 : $email.hashCode());
        Object $phone = getPhone();
        int result12 = (result11 * 59) + ($phone == null ? 43 : $phone.hashCode());
        Object $birthday = getBirthday();
        int result13 = (result12 * 59) + ($birthday == null ? 43 : $birthday.hashCode());
        Object $roleId = getRoleId();
        int result14 = (result13 * 59) + ($roleId == null ? 43 : $roleId.hashCode());
        Object $deptId = getDeptId();
        int result15 = (result14 * 59) + ($deptId == null ? 43 : $deptId.hashCode());
        Object $postId = getPostId();
        int result16 = (result15 * 59) + ($postId == null ? 43 : $postId.hashCode());
        Object $pwdUpdateDate = getPwdUpdateDate();
        int result17 = (result16 * 59) + ($pwdUpdateDate == null ? 43 : $pwdUpdateDate.hashCode());
        Object $pwdUpdateRecord = getPwdUpdateRecord();
        return (result17 * 59) + ($pwdUpdateRecord == null ? 43 : $pwdUpdateRecord.hashCode());
    }
 
    public String getCode() {
        return this.code;
    }
 
    public Integer getUserType() {
        return this.userType;
    }
 
    public String getAccount() {
        return this.account;
    }
 
    public String getPassword() {
        return this.password;
    }
 
    public String getRealName() {
        return this.realName;
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public String getEmail() {
        return this.email;
    }
 
    public String getPhone() {
        return this.phone;
    }
 
    public Date getBirthday() {
        return this.birthday;
    }
 
    public Integer getSex() {
        return this.sex;
    }
 
    public String getRoleId() {
        return this.roleId;
    }
 
    public String getDeptId() {
        return this.deptId;
    }
 
    public String getPostId() {
        return this.postId;
    }
 
    public Integer getPwdSecurityLevel() {
        return this.pwdSecurityLevel;
    }
 
    public Date getPwdUpdateDate() {
        return this.pwdUpdateDate;
    }
 
    public String getPwdUpdateRecord() {
        return this.pwdUpdateRecord;
    }
 
    public Long getEmployeeId() {
        return this.employeeId;
    }
}