package com.qianwen.core.secure; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import com.qianwen.core.tool.support.Kv; /* loaded from: blade-starter-auth-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/BladeUser.class */ public class BladeUser implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty(hidden = true) private String clientId; @ApiModelProperty(hidden = true) private Long userId; @ApiModelProperty(hidden = true) private String account; @ApiModelProperty(hidden = true) private String userName; @ApiModelProperty(hidden = true) private String nickName; @ApiModelProperty(hidden = true) private String tenantId; @ApiModelProperty(hidden = true) private String oauthId; @ApiModelProperty(hidden = true) private String deptId; @ApiModelProperty(hidden = true) private String postId; @ApiModelProperty(hidden = true) private String roleId; @ApiModelProperty(hidden = true) private String roleName; @ApiModelProperty(hidden = true) private Kv detail; public void setClientId(final String clientId) { this.clientId = clientId; } public void setUserId(final Long userId) { this.userId = userId; } public void setAccount(final String account) { this.account = account; } public void setUserName(final String userName) { this.userName = userName; } public void setNickName(final String nickName) { this.nickName = nickName; } public void setTenantId(final String tenantId) { this.tenantId = tenantId; } public void setOauthId(final String oauthId) { this.oauthId = oauthId; } public void setDeptId(final String deptId) { this.deptId = deptId; } public void setPostId(final String postId) { this.postId = postId; } public void setRoleId(final String roleId) { this.roleId = roleId; } public void setRoleName(final String roleName) { this.roleName = roleName; } public void setDetail(final Kv detail) { this.detail = detail; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BladeUser) { BladeUser other = (BladeUser) o; if (other.canEqual(this)) { Object this$userId = getUserId(); Object other$userId = other.getUserId(); if (this$userId == null) { if (other$userId != null) { return false; } } else if (!this$userId.equals(other$userId)) { return false; } Object this$clientId = getClientId(); Object other$clientId = other.getClientId(); if (this$clientId == null) { if (other$clientId != null) { return false; } } else if (!this$clientId.equals(other$clientId)) { 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$userName = getUserName(); Object other$userName = other.getUserName(); if (this$userName == null) { if (other$userName != null) { return false; } } else if (!this$userName.equals(other$userName)) { return false; } Object this$nickName = getNickName(); Object other$nickName = other.getNickName(); if (this$nickName == null) { if (other$nickName != null) { return false; } } else if (!this$nickName.equals(other$nickName)) { return false; } Object this$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); if (this$tenantId == null) { if (other$tenantId != null) { return false; } } else if (!this$tenantId.equals(other$tenantId)) { return false; } Object this$oauthId = getOauthId(); Object other$oauthId = other.getOauthId(); if (this$oauthId == null) { if (other$oauthId != null) { return false; } } else if (!this$oauthId.equals(other$oauthId)) { 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$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$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$detail = getDetail(); Object other$detail = other.getDetail(); return this$detail == null ? other$detail == null : this$detail.equals(other$detail); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BladeUser; } public int hashCode() { Object $userId = getUserId(); int result = (1 * 59) + ($userId == null ? 43 : $userId.hashCode()); Object $clientId = getClientId(); int result2 = (result * 59) + ($clientId == null ? 43 : $clientId.hashCode()); Object $account = getAccount(); int result3 = (result2 * 59) + ($account == null ? 43 : $account.hashCode()); Object $userName = getUserName(); int result4 = (result3 * 59) + ($userName == null ? 43 : $userName.hashCode()); Object $nickName = getNickName(); int result5 = (result4 * 59) + ($nickName == null ? 43 : $nickName.hashCode()); Object $tenantId = getTenantId(); int result6 = (result5 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $oauthId = getOauthId(); int result7 = (result6 * 59) + ($oauthId == null ? 43 : $oauthId.hashCode()); Object $deptId = getDeptId(); int result8 = (result7 * 59) + ($deptId == null ? 43 : $deptId.hashCode()); Object $postId = getPostId(); int result9 = (result8 * 59) + ($postId == null ? 43 : $postId.hashCode()); Object $roleId = getRoleId(); int result10 = (result9 * 59) + ($roleId == null ? 43 : $roleId.hashCode()); Object $roleName = getRoleName(); int result11 = (result10 * 59) + ($roleName == null ? 43 : $roleName.hashCode()); Object $detail = getDetail(); return (result11 * 59) + ($detail == null ? 43 : $detail.hashCode()); } public String toString() { return "BladeUser(clientId=" + getClientId() + ", userId=" + getUserId() + ", account=" + getAccount() + ", userName=" + getUserName() + ", nickName=" + getNickName() + ", tenantId=" + getTenantId() + ", oauthId=" + getOauthId() + ", deptId=" + getDeptId() + ", postId=" + getPostId() + ", roleId=" + getRoleId() + ", roleName=" + getRoleName() + ", detail=" + getDetail() + ")"; } public String getClientId() { return this.clientId; } public Long getUserId() { return this.userId; } public String getAccount() { return this.account; } public String getUserName() { return this.userName; } public String getNickName() { return this.nickName; } public String getTenantId() { return this.tenantId; } public String getOauthId() { return this.oauthId; } public String getDeptId() { return this.deptId; } public String getPostId() { return this.postId; } public String getRoleId() { return this.roleId; } public String getRoleName() { return this.roleName; } public Kv getDetail() { return this.detail; } }