leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
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
package com.fastbee.iot.domain;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fastbee.common.annotation.Excel;
import com.fastbee.common.core.domain.BaseEntity;
 
/**
 * 云云对接对象 oauth_client_details
 * 
 * @author kerwincui
 * @date 2022-02-07
 */
@ApiModel(value = "OauthClientDetails", description = "云云对接对象 oauth_client_details")
public class OauthClientDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 客户端ID */
    @ApiModelProperty("客户端ID")
    @Excel(name = "客户端ID")
    private String clientId;
 
    /** 资源 */
    @ApiModelProperty("资源")
    @Excel(name = "资源")
    private String resourceIds;
 
    /** 客户端秘钥 */
    @ApiModelProperty("客户端秘钥")
    private String clientSecret;
 
    /** 权限范围 */
    @ApiModelProperty("权限范围")
    @Excel(name = "权限范围")
    private String scope;
 
    /** 授权模式 */
    @ApiModelProperty("授权模式")
    @Excel(name = "授权模式")
    private String authorizedGrantTypes;
 
    /** 回调地址 */
    @ApiModelProperty("回调地址")
    @Excel(name = "回调地址")
    private String webServerRedirectUri;
 
    /** 权限 */
    @ApiModelProperty("权限")
    @Excel(name = "权限")
    private String authorities;
 
    /** access token有效时间 */
    @ApiModelProperty("access token有效时间")
    @Excel(name = "access token有效时间")
    private Long accessTokenValidity;
 
    /** refresh token有效时间 */
    @ApiModelProperty("refresh token有效时间")
    @Excel(name = "refresh token有效时间")
    private Long refreshTokenValidity;
 
    /** 预留的字段 */
    @ApiModelProperty("预留的字段")
    @Excel(name = "预留的字段")
    private String additionalInformation;
 
    /** 自动授权 */
    @ApiModelProperty("自动授权")
    @Excel(name = "自动授权")
    private String autoapprove;
 
    /** 平台 */
    @ApiModelProperty("平台")
    @Excel(name = "平台")
    private Integer type;
 
    public void setClientId(String clientId) 
    {
        this.clientId = clientId;
    }
 
    public String getClientId() 
    {
        return clientId;
    }
    public void setResourceIds(String resourceIds) 
    {
        this.resourceIds = resourceIds;
    }
 
    public String getResourceIds() 
    {
        return resourceIds;
    }
    public void setClientSecret(String clientSecret) 
    {
        this.clientSecret = clientSecret;
    }
 
    public String getClientSecret() 
    {
        return clientSecret;
    }
    public void setScope(String scope) 
    {
        this.scope = scope;
    }
 
    public String getScope() 
    {
        return scope;
    }
    public void setAuthorizedGrantTypes(String authorizedGrantTypes) 
    {
        this.authorizedGrantTypes = authorizedGrantTypes;
    }
 
    public String getAuthorizedGrantTypes() 
    {
        return authorizedGrantTypes;
    }
    public void setWebServerRedirectUri(String webServerRedirectUri) 
    {
        this.webServerRedirectUri = webServerRedirectUri;
    }
 
    public String getWebServerRedirectUri() 
    {
        return webServerRedirectUri;
    }
    public void setAuthorities(String authorities) 
    {
        this.authorities = authorities;
    }
 
    public String getAuthorities() 
    {
        return authorities;
    }
    public void setAccessTokenValidity(Long accessTokenValidity) 
    {
        this.accessTokenValidity = accessTokenValidity;
    }
 
    public Long getAccessTokenValidity() 
    {
        return accessTokenValidity;
    }
    public void setRefreshTokenValidity(Long refreshTokenValidity) 
    {
        this.refreshTokenValidity = refreshTokenValidity;
    }
 
    public Long getRefreshTokenValidity() 
    {
        return refreshTokenValidity;
    }
    public void setAdditionalInformation(String additionalInformation) 
    {
        this.additionalInformation = additionalInformation;
    }
 
    public String getAdditionalInformation() 
    {
        return additionalInformation;
    }
    public void setAutoapprove(String autoapprove) 
    {
        this.autoapprove = autoapprove;
    }
 
    public String getAutoapprove() 
    {
        return autoapprove;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }
 
    public Integer getType() 
    {
        return type;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clientId", getClientId())
            .append("resourceIds", getResourceIds())
            .append("clientSecret", getClientSecret())
            .append("scope", getScope())
            .append("authorizedGrantTypes", getAuthorizedGrantTypes())
            .append("webServerRedirectUri", getWebServerRedirectUri())
            .append("authorities", getAuthorities())
            .append("accessTokenValidity", getAccessTokenValidity())
            .append("refreshTokenValidity", getRefreshTokenValidity())
            .append("additionalInformation", getAdditionalInformation())
            .append("autoapprove", getAutoapprove())
            .append("type", getType())
            .toString();
    }
}