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; } }