package com.qianwen.smartman.modules.system.vo; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.smartman.common.constant.DictConstant; import com.qianwen.core.coderule.annotation.CodeRule; import com.qianwen.smartman.modules.system.entity.User; @ApiModel(value = "UserVO", description = "UserVO对象") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/UserVO.class */ public class UserVO extends User { private static final long serialVersionUID = 1; @JsonSerialize(using = ToStringSerializer.class) private Long id; @JsonIgnore private String password; private String tenantName; private String userTypeName; private String roleName; private String deptName; private String postName; @CodeRule(code = DictConstant.SEX_CODE) private String sexName; private String userExt; private Long employeeId; private String employeeCode; private String employeeName; private Boolean bindDingFlag = false; private Boolean bindQyWechatFlag = false; @ApiModelProperty("是否开启钉钉") private Boolean dingStatus = false; @ApiModelProperty("是否开启企业微信") private Boolean wxStatus = false; public void setId(final Long id) { this.id = id; } @Override // org.springblade.modules.system.entity.User @JsonIgnore public void setPassword(final String password) { this.password = password; } public void setTenantName(final String tenantName) { this.tenantName = tenantName; } public void setUserTypeName(final String userTypeName) { this.userTypeName = userTypeName; } public void setRoleName(final String roleName) { this.roleName = roleName; } public void setDeptName(final String deptName) { this.deptName = deptName; } public void setPostName(final String postName) { this.postName = postName; } public void setSexName(final String sexName) { this.sexName = sexName; } public void setUserExt(final String userExt) { this.userExt = userExt; } @Override // org.springblade.modules.system.entity.User public void setEmployeeId(final Long employeeId) { this.employeeId = employeeId; } public void setEmployeeCode(final String employeeCode) { this.employeeCode = employeeCode; } public void setEmployeeName(final String employeeName) { this.employeeName = employeeName; } public void setBindDingFlag(final Boolean bindDingFlag) { this.bindDingFlag = bindDingFlag; } public void setBindQyWechatFlag(final Boolean bindQyWechatFlag) { this.bindQyWechatFlag = bindQyWechatFlag; } public void setDingStatus(final Boolean dingStatus) { this.dingStatus = dingStatus; } public void setWxStatus(final Boolean wxStatus) { this.wxStatus = wxStatus; } @Override // org.springblade.modules.system.entity.User public String toString() { return "UserVO(id=" + getId() + ", password=" + getPassword() + ", tenantName=" + getTenantName() + ", userTypeName=" + getUserTypeName() + ", roleName=" + getRoleName() + ", deptName=" + getDeptName() + ", postName=" + getPostName() + ", sexName=" + getSexName() + ", userExt=" + getUserExt() + ", employeeId=" + getEmployeeId() + ", employeeCode=" + getEmployeeCode() + ", employeeName=" + getEmployeeName() + ", bindDingFlag=" + getBindDingFlag() + ", bindQyWechatFlag=" + getBindQyWechatFlag() + ", dingStatus=" + getDingStatus() + ", wxStatus=" + getWxStatus() + ")"; } @Override // org.springblade.modules.system.entity.User public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof UserVO) { UserVO other = (UserVO) o; if (other.canEqual(this) && super.equals(o)) { Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { 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$bindDingFlag = getBindDingFlag(); Object other$bindDingFlag = other.getBindDingFlag(); if (this$bindDingFlag == null) { if (other$bindDingFlag != null) { return false; } } else if (!this$bindDingFlag.equals(other$bindDingFlag)) { return false; } Object this$bindQyWechatFlag = getBindQyWechatFlag(); Object other$bindQyWechatFlag = other.getBindQyWechatFlag(); if (this$bindQyWechatFlag == null) { if (other$bindQyWechatFlag != null) { return false; } } else if (!this$bindQyWechatFlag.equals(other$bindQyWechatFlag)) { return false; } Object this$dingStatus = getDingStatus(); Object other$dingStatus = other.getDingStatus(); if (this$dingStatus == null) { if (other$dingStatus != null) { return false; } } else if (!this$dingStatus.equals(other$dingStatus)) { return false; } Object this$wxStatus = getWxStatus(); Object other$wxStatus = other.getWxStatus(); if (this$wxStatus == null) { if (other$wxStatus != null) { return false; } } else if (!this$wxStatus.equals(other$wxStatus)) { 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$tenantName = getTenantName(); Object other$tenantName = other.getTenantName(); if (this$tenantName == null) { if (other$tenantName != null) { return false; } } else if (!this$tenantName.equals(other$tenantName)) { return false; } Object this$userTypeName = getUserTypeName(); Object other$userTypeName = other.getUserTypeName(); if (this$userTypeName == null) { if (other$userTypeName != null) { return false; } } else if (!this$userTypeName.equals(other$userTypeName)) { return false; } Object this$roleName = getRoleName(); Object other$roleName = other.getRoleName(); if (this$roleName == null) { if (other$roleName != null) { return false; } } else if (!this$roleName.equals(other$roleName)) { return false; } Object this$deptName = getDeptName(); Object other$deptName = other.getDeptName(); if (this$deptName == null) { if (other$deptName != null) { return false; } } else if (!this$deptName.equals(other$deptName)) { return false; } Object this$postName = getPostName(); Object other$postName = other.getPostName(); if (this$postName == null) { if (other$postName != null) { return false; } } else if (!this$postName.equals(other$postName)) { return false; } Object this$sexName = getSexName(); Object other$sexName = other.getSexName(); if (this$sexName == null) { if (other$sexName != null) { return false; } } else if (!this$sexName.equals(other$sexName)) { return false; } Object this$userExt = getUserExt(); Object other$userExt = other.getUserExt(); if (this$userExt == null) { if (other$userExt != null) { return false; } } else if (!this$userExt.equals(other$userExt)) { return false; } Object this$employeeCode = getEmployeeCode(); Object other$employeeCode = other.getEmployeeCode(); if (this$employeeCode == null) { if (other$employeeCode != null) { return false; } } else if (!this$employeeCode.equals(other$employeeCode)) { return false; } Object this$employeeName = getEmployeeName(); Object other$employeeName = other.getEmployeeName(); return this$employeeName == null ? other$employeeName == null : this$employeeName.equals(other$employeeName); } return false; } return false; } @Override // org.springblade.modules.system.entity.User protected boolean canEqual(final Object other) { return other instanceof UserVO; } @Override // org.springblade.modules.system.entity.User public int hashCode() { int result = super.hashCode(); Object $id = getId(); int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode()); Object $employeeId = getEmployeeId(); int result3 = (result2 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode()); Object $bindDingFlag = getBindDingFlag(); int result4 = (result3 * 59) + ($bindDingFlag == null ? 43 : $bindDingFlag.hashCode()); Object $bindQyWechatFlag = getBindQyWechatFlag(); int result5 = (result4 * 59) + ($bindQyWechatFlag == null ? 43 : $bindQyWechatFlag.hashCode()); Object $dingStatus = getDingStatus(); int result6 = (result5 * 59) + ($dingStatus == null ? 43 : $dingStatus.hashCode()); Object $wxStatus = getWxStatus(); int result7 = (result6 * 59) + ($wxStatus == null ? 43 : $wxStatus.hashCode()); Object $password = getPassword(); int result8 = (result7 * 59) + ($password == null ? 43 : $password.hashCode()); Object $tenantName = getTenantName(); int result9 = (result8 * 59) + ($tenantName == null ? 43 : $tenantName.hashCode()); Object $userTypeName = getUserTypeName(); int result10 = (result9 * 59) + ($userTypeName == null ? 43 : $userTypeName.hashCode()); Object $roleName = getRoleName(); int result11 = (result10 * 59) + ($roleName == null ? 43 : $roleName.hashCode()); Object $deptName = getDeptName(); int result12 = (result11 * 59) + ($deptName == null ? 43 : $deptName.hashCode()); Object $postName = getPostName(); int result13 = (result12 * 59) + ($postName == null ? 43 : $postName.hashCode()); Object $sexName = getSexName(); int result14 = (result13 * 59) + ($sexName == null ? 43 : $sexName.hashCode()); Object $userExt = getUserExt(); int result15 = (result14 * 59) + ($userExt == null ? 43 : $userExt.hashCode()); Object $employeeCode = getEmployeeCode(); int result16 = (result15 * 59) + ($employeeCode == null ? 43 : $employeeCode.hashCode()); Object $employeeName = getEmployeeName(); return (result16 * 59) + ($employeeName == null ? 43 : $employeeName.hashCode()); } public Long getId() { return this.id; } @Override // org.springblade.modules.system.entity.User public String getPassword() { return this.password; } public String getTenantName() { return this.tenantName; } public String getUserTypeName() { return this.userTypeName; } public String getRoleName() { return this.roleName; } public String getDeptName() { return this.deptName; } public String getPostName() { return this.postName; } public String getSexName() { return this.sexName; } public String getUserExt() { return this.userExt; } @Override // org.springblade.modules.system.entity.User public Long getEmployeeId() { return this.employeeId; } public String getEmployeeCode() { return this.employeeCode; } public String getEmployeeName() { return this.employeeName; } public Boolean getBindDingFlag() { return this.bindDingFlag; } public Boolean getBindQyWechatFlag() { return this.bindQyWechatFlag; } public Boolean getDingStatus() { return this.dingStatus; } public Boolean getWxStatus() { return this.wxStatus; } }