Authenticity.ts 566 Bytes
/**
 * 认证账号父类
 */
import {Privilege} from './Privilege';

export default interface Authenticity {

    /**
     * 帐号ID
     */
    id: number;

    /**
     * 帐号名称
     */
    name: string;

    /**
     * 别名
     */
    fullName?: string;

    /**
     * 头像地址
     */
    avatar?: string;

    /**
     * token
     */
    token: string;

    /**
     * 角色
     */
    authorities: string[];

    /**
     * 权限
     */
    privileges: Privilege[];

    /**
     * 扩展数据项
     */
    data: Map<string, any>;

}