package com.sptg.permissions.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.sptg.permissions.api.entity.Account;
import com.sptg.permissions.api.entity.Role;
import lombok.Getter;
import lombok.Setter;

/**
 * title: RoleDto
 * package: com.sptg.permissions.api.dto
 * description: 角色数据传输对象
 *
 *                  
 *                 
 */
@Getter
@Setter
public class RoleDto extends Role {

    /**
     * 当前登陆用户
     */
    @TableField(exist = false)
    private Account onLineUser;

    /**
     * 选中的权限Id列表(每个Id中间用，分割)
     */
    @TableField(exist = false)
    private String menuIds;

}
