yangys
2024-04-01 86cdd920b68274185233383f69ddb974052b6b6f
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
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;
    }
}