|
@@ -24,6 +24,8 @@ import com.baomidou.mybatisplus.annotations.TableField;
|
|
|
import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
@@ -35,6 +37,8 @@ import java.io.Serializable;
|
|
|
* @author lengleng
|
|
|
* @since 2018-05-15
|
|
|
*/
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
@TableName("sys_oauth_client_details")
|
|
|
public class SysOauthClientDetails extends Model<SysOauthClientDetails> {
|
|
|
|
|
@@ -60,114 +64,9 @@ public class SysOauthClientDetails extends Model<SysOauthClientDetails> {
|
|
|
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
|
|
|
protected Serializable pkVal() {
|
|
|
return this.clientId;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return "SysOauthClientDetails{" +
|
|
|
- ", clientId=" + clientId +
|
|
|
- ", resourceIds=" + resourceIds +
|
|
|
- ", clientSecret=" + clientSecret +
|
|
|
- ", scope=" + scope +
|
|
|
- ", authorizedGrantTypes=" + authorizedGrantTypes +
|
|
|
- ", webServerRedirectUri=" + webServerRedirectUri +
|
|
|
- ", authorities=" + authorities +
|
|
|
- ", accessTokenValidity=" + accessTokenValidity +
|
|
|
- ", refreshTokenValidity=" + refreshTokenValidity +
|
|
|
- ", additionalInformation=" + additionalInformation +
|
|
|
- ", autoapprove=" + autoapprove +
|
|
|
- "}";
|
|
|
- }
|
|
|
}
|