7 changed files with 162 additions and 0 deletions
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/24 10:03 上午 |
|||
*/ |
|||
@Data |
|||
public class CustomerAccessTokenInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 6514918025012507710L; |
|||
|
|||
public interface CustomerAccessTokenInfo{} |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@NotBlank(message = "客户ID不能为空",groups = {CustomerAccessTokenInfo.class}) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户端类型 |
|||
*/ |
|||
private String clientType; |
|||
} |
@ -0,0 +1,56 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/24 10:08 上午 |
|||
*/ |
|||
@Data |
|||
public class CustomerAccessTokenInfoResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7008455455787166150L; |
|||
|
|||
/** |
|||
* 客户名称 |
|||
*/ |
|||
private String customerName; |
|||
|
|||
/** |
|||
* 环境类型 |
|||
*/ |
|||
private String source; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 授权方AppId |
|||
*/ |
|||
private String authAppId; |
|||
|
|||
/** |
|||
* 授权方的 accessToken |
|||
*/ |
|||
private String authorizerAccessToken; |
|||
|
|||
/** |
|||
* 授权方的 refreshToken |
|||
*/ |
|||
private String authorizerRefreshToken; |
|||
|
|||
/** |
|||
* accessToken过期事件 |
|||
*/ |
|||
private String expiresInTime; |
|||
|
|||
/** |
|||
* 客户端类型 |
|||
*/ |
|||
private String clientType; |
|||
|
|||
} |
Loading…
Reference in new issue