12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.example.base;
- import lombok.Data;
- import java.sql.Timestamp;
- /**
- * Token属性定义
- *
- * @author yys
- */
- @Data
- public class Token {
- /**
- * Token令牌
- */
- private String accessToken;
- /**
- * 过期时间
- */
- private Timestamp expireTime;
- /**
- * 刷新access_token
- */
- private String refreshToken;
- public Token() {
- super();
- }
- public Token(String accessToken, Timestamp expireTime) {
- super();
- this.accessToken = accessToken;
- this.expireTime = expireTime;
- }
- }
|