package com.qianwen.smartman.modules.system.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.mp.base.BaseEntity; @ApiModel(value = "Client", description = "Client对象") @TableName("blade_client") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/AuthClient.class */ public class AuthClient extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("客户端id") private String clientId; @ApiModelProperty("客户端密钥") private String clientSecret; @ApiModelProperty("资源集合") private String resourceIds; @ApiModelProperty("授权范围") private String scope; @ApiModelProperty("授权类型") private String authorizedGrantTypes; @ApiModelProperty("回调地址") private String webServerRedirectUri; @ApiModelProperty("权限") private String authorities; @ApiModelProperty("令牌过期秒数") private Integer accessTokenValidity; @ApiModelProperty("刷新令牌过期秒数") private Integer refreshTokenValidity; @JsonIgnore @ApiModelProperty("附加说明") private String additionalInformation; @ApiModelProperty("自动授权") private String autoapprove; public void setClientId(final String clientId) { this.clientId = clientId; } public void setClientSecret(final String clientSecret) { this.clientSecret = clientSecret; } public void setResourceIds(final String resourceIds) { this.resourceIds = resourceIds; } public void setScope(final String scope) { this.scope = scope; } public void setAuthorizedGrantTypes(final String authorizedGrantTypes) { this.authorizedGrantTypes = authorizedGrantTypes; } public void setWebServerRedirectUri(final String webServerRedirectUri) { this.webServerRedirectUri = webServerRedirectUri; } public void setAuthorities(final String authorities) { this.authorities = authorities; } public void setAccessTokenValidity(final Integer accessTokenValidity) { this.accessTokenValidity = accessTokenValidity; } public void setRefreshTokenValidity(final Integer refreshTokenValidity) { this.refreshTokenValidity = refreshTokenValidity; } @JsonIgnore public void setAdditionalInformation(final String additionalInformation) { this.additionalInformation = additionalInformation; } public void setAutoapprove(final String autoapprove) { this.autoapprove = autoapprove; } public String toString() { return "AuthClient(clientId=" + getClientId() + ", clientSecret=" + getClientSecret() + ", resourceIds=" + getResourceIds() + ", scope=" + getScope() + ", authorizedGrantTypes=" + getAuthorizedGrantTypes() + ", webServerRedirectUri=" + getWebServerRedirectUri() + ", authorities=" + getAuthorities() + ", accessTokenValidity=" + getAccessTokenValidity() + ", refreshTokenValidity=" + getRefreshTokenValidity() + ", additionalInformation=" + getAdditionalInformation() + ", autoapprove=" + getAutoapprove() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof AuthClient) { AuthClient other = (AuthClient) o; if (other.canEqual(this) && super.equals(o)) { Object this$accessTokenValidity = getAccessTokenValidity(); Object other$accessTokenValidity = other.getAccessTokenValidity(); if (this$accessTokenValidity == null) { if (other$accessTokenValidity != null) { return false; } } else if (!this$accessTokenValidity.equals(other$accessTokenValidity)) { return false; } Object this$refreshTokenValidity = getRefreshTokenValidity(); Object other$refreshTokenValidity = other.getRefreshTokenValidity(); if (this$refreshTokenValidity == null) { if (other$refreshTokenValidity != null) { return false; } } else if (!this$refreshTokenValidity.equals(other$refreshTokenValidity)) { 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$clientSecret = getClientSecret(); Object other$clientSecret = other.getClientSecret(); if (this$clientSecret == null) { if (other$clientSecret != null) { return false; } } else if (!this$clientSecret.equals(other$clientSecret)) { return false; } Object this$resourceIds = getResourceIds(); Object other$resourceIds = other.getResourceIds(); if (this$resourceIds == null) { if (other$resourceIds != null) { return false; } } else if (!this$resourceIds.equals(other$resourceIds)) { return false; } Object this$scope = getScope(); Object other$scope = other.getScope(); if (this$scope == null) { if (other$scope != null) { return false; } } else if (!this$scope.equals(other$scope)) { return false; } Object this$authorizedGrantTypes = getAuthorizedGrantTypes(); Object other$authorizedGrantTypes = other.getAuthorizedGrantTypes(); if (this$authorizedGrantTypes == null) { if (other$authorizedGrantTypes != null) { return false; } } else if (!this$authorizedGrantTypes.equals(other$authorizedGrantTypes)) { return false; } Object this$webServerRedirectUri = getWebServerRedirectUri(); Object other$webServerRedirectUri = other.getWebServerRedirectUri(); if (this$webServerRedirectUri == null) { if (other$webServerRedirectUri != null) { return false; } } else if (!this$webServerRedirectUri.equals(other$webServerRedirectUri)) { return false; } Object this$authorities = getAuthorities(); Object other$authorities = other.getAuthorities(); if (this$authorities == null) { if (other$authorities != null) { return false; } } else if (!this$authorities.equals(other$authorities)) { return false; } Object this$additionalInformation = getAdditionalInformation(); Object other$additionalInformation = other.getAdditionalInformation(); if (this$additionalInformation == null) { if (other$additionalInformation != null) { return false; } } else if (!this$additionalInformation.equals(other$additionalInformation)) { return false; } Object this$autoapprove = getAutoapprove(); Object other$autoapprove = other.getAutoapprove(); return this$autoapprove == null ? other$autoapprove == null : this$autoapprove.equals(other$autoapprove); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof AuthClient; } public int hashCode() { int result = super.hashCode(); Object $accessTokenValidity = getAccessTokenValidity(); int result2 = (result * 59) + ($accessTokenValidity == null ? 43 : $accessTokenValidity.hashCode()); Object $refreshTokenValidity = getRefreshTokenValidity(); int result3 = (result2 * 59) + ($refreshTokenValidity == null ? 43 : $refreshTokenValidity.hashCode()); Object $clientId = getClientId(); int result4 = (result3 * 59) + ($clientId == null ? 43 : $clientId.hashCode()); Object $clientSecret = getClientSecret(); int result5 = (result4 * 59) + ($clientSecret == null ? 43 : $clientSecret.hashCode()); Object $resourceIds = getResourceIds(); int result6 = (result5 * 59) + ($resourceIds == null ? 43 : $resourceIds.hashCode()); Object $scope = getScope(); int result7 = (result6 * 59) + ($scope == null ? 43 : $scope.hashCode()); Object $authorizedGrantTypes = getAuthorizedGrantTypes(); int result8 = (result7 * 59) + ($authorizedGrantTypes == null ? 43 : $authorizedGrantTypes.hashCode()); Object $webServerRedirectUri = getWebServerRedirectUri(); int result9 = (result8 * 59) + ($webServerRedirectUri == null ? 43 : $webServerRedirectUri.hashCode()); Object $authorities = getAuthorities(); int result10 = (result9 * 59) + ($authorities == null ? 43 : $authorities.hashCode()); Object $additionalInformation = getAdditionalInformation(); int result11 = (result10 * 59) + ($additionalInformation == null ? 43 : $additionalInformation.hashCode()); Object $autoapprove = getAutoapprove(); return (result11 * 59) + ($autoapprove == null ? 43 : $autoapprove.hashCode()); } public String getClientId() { return this.clientId; } public String getClientSecret() { return this.clientSecret; } public String getResourceIds() { return this.resourceIds; } public String getScope() { return this.scope; } public String getAuthorizedGrantTypes() { return this.authorizedGrantTypes; } public String getWebServerRedirectUri() { return this.webServerRedirectUri; } public String getAuthorities() { return this.authorities; } public Integer getAccessTokenValidity() { return this.accessTokenValidity; } public Integer getRefreshTokenValidity() { return this.refreshTokenValidity; } public String getAdditionalInformation() { return this.additionalInformation; } public String getAutoapprove() { return this.autoapprove; } }