package com.tofly.base.api.dto;

import com.tofly.base.api.entity.SysUser;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Administrator
 * @date 2019/9/6  15:46
 */
@Data
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 4950628032564330016L;
    /**
     * 用户基本信息
     */
    private SysUser sysUser;
    /**
     * 权限标识集合
     */
    private String[] permissions;

    /**
     * 角色集合
     */
    private Long[] roles;
}
