123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- package com.ruoyi.system.domain;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.core.web.domain.BaseEntity;
- /**
- * 终端配置表 sys_oauth_client_details
- *
- * @author ruoyi
- */
- public class SysClientDetails extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /**
- * 终端编号
- */
- private String clientId;
- /**
- * 资源ID标识
- */
- private String resourceIds;
- /**
- * 终端安全码
- */
- private String clientSecret;
- /**
- * 终端授权范围
- */
- private String scope;
- /**
- * 终端授权类型
- */
- private String authorizedGrantTypes;
- /**
- * 服务器回调地址
- */
- private String webServerRedirectUri;
- /**
- * 访问资源所需权限
- */
- private String authorities;
- /**
- * 设定终端的access_token的有效时间值(秒)
- */
- private Integer accessTokenValidity;
- /**
- * 设定终端的refresh_token的有效时间值(秒)
- */
- private Integer refreshTokenValidity;
- /**
- * 附加信息
- */
- private String additionalInformation;
- /**
- * 是否登录时跳过授权
- */
- private String autoapprove;
- public String getClientId()
- {
- return clientId;
- }
- public void setClientId(String clientId)
- {
- this.clientId = clientId;
- }
- public String getResourceIds()
- {
- return resourceIds;
- }
- public void setResourceIds(String resourceIds)
- {
- this.resourceIds = resourceIds;
- }
- public String getClientSecret()
- {
- return clientSecret;
- }
- public void setClientSecret(String clientSecret)
- {
- this.clientSecret = clientSecret;
- }
- public String getScope()
- {
- return scope;
- }
- public void setScope(String scope)
- {
- this.scope = scope;
- }
- public String getAuthorizedGrantTypes()
- {
- return authorizedGrantTypes;
- }
- public void setAuthorizedGrantTypes(String authorizedGrantTypes)
- {
- this.authorizedGrantTypes = authorizedGrantTypes;
- }
- public String getWebServerRedirectUri()
- {
- return webServerRedirectUri;
- }
- public void setWebServerRedirectUri(String webServerRedirectUri)
- {
- this.webServerRedirectUri = webServerRedirectUri;
- }
- public String getAuthorities()
- {
- return authorities;
- }
- public void setAuthorities(String authorities)
- {
- this.authorities = authorities;
- }
- public Integer getAccessTokenValidity()
- {
- return accessTokenValidity;
- }
- public void setAccessTokenValidity(Integer accessTokenValidity)
- {
- this.accessTokenValidity = accessTokenValidity;
- }
- public Integer getRefreshTokenValidity()
- {
- return refreshTokenValidity;
- }
- public void setRefreshTokenValidity(Integer refreshTokenValidity)
- {
- this.refreshTokenValidity = refreshTokenValidity;
- }
- public String getAdditionalInformation()
- {
- return additionalInformation;
- }
- public void setAdditionalInformation(String additionalInformation)
- {
- this.additionalInformation = additionalInformation;
- }
- public String getAutoapprove()
- {
- return autoapprove;
- }
- public void setAutoapprove(String autoapprove)
- {
- this.autoapprove = autoapprove;
- }
- @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())
- .toString();
- }
- }
|