using YBEE.EQM.Core;

namespace YBEE.EQM.Application
{
    /// <summary>
    /// 菜单及数据范围标识
    /// </summary>
    public class SysRoleMenuScopeInput
    {
        public int MenuId { get; set; }
        public DataScopeType DataScopeType { get; set; }
    }

    /// <summary>
    /// 授权角色菜单参数
    /// </summary>
    public class GrantSysRoleMenuInput
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Required]
        public int RoleId { get; set; }
        /// <summary>
        /// 菜单及数据范围标识
        /// </summary>
        public List<SysRoleMenuScopeInput> RoleMenuScopeList { get; set; }
    }
}