package com.zhongshu.card.client.model.org;

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

import java.util.Set;

/**
 * @author TRX
 * @date 2024/6/17
 */
@Data
public class LoginPlatformTokenModel {
    @Schema(description = "token")
    private String access_token;

    private String token_type;

    @Schema(description = "刷新token的token")
    private String refresh_token;

    private Integer expires_in;

    private String scope;

    private String platformOid;

    OrganizationUserModel userInfo;

    @Schema(description = "用户权限列表")
    private Set<String> auths;
}
