package com.agileboot.system.user.dto;

import com.agileboot.common.satoken.pojo.PostDTO;
import com.agileboot.common.satoken.pojo.RoleDTO;
import lombok.Data;

import java.util.List;
import java.util.Set;

/**
 * @author valarchie
 */
@Data
public class UserDetailDTO {

    private UserInfo user;

    /**
     * 返回所有role
     */
    private List<RoleDTO> roleOptions;

    /**
     * 返回所有posts
     */
    private List<PostDTO> postOptions;

    private Long postId;

    private Long roleId;

    private Set<String> permissions;

}
