using YBEE.EQM.Core;

namespace YBEE.EQM.Application
{
    /// <summary>
    /// 角色菜单输出参数
    /// </summary>
    public class SysRoleMenuOutput
    {
        [Required]
        public int Id { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        [Required]
        public int SysRoleId { get; set; }
        /// <summary>
        /// 菜单Id
        /// </summary>
        [Required]
        public int SysMenuId { get; set; }
        /// <summary>
        /// 数据范围类型
        /// </summary>
        public DataScopeType DataScopeType { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        public SysRoleOutput SysRole { get; set; }
        /// <summary>
        /// 菜单
        /// </summary>
        public SysMenuOutput SysMenu { get; set; }
    }
}