
package com.tmerclub.cloud.api.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * token信息，该信息用户返回给前端，前端请求携带accessToken进行用户校验
 *
 * @author tmerclub
 * @date 2020/7/2
 */
@Data
public class TokenInfoVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "accessToken")
    private String accessToken;

    @Schema(description = "在多少秒后过期")
    private Integer expiresIn;


}
