using YBEE.EQM.Core;

namespace YBEE.EQM.Application
{
    /// <summary>
    /// 角色输出参数
    /// </summary>
    public class SysRoleOutput
    {
        /// <summary>
        /// ID，使用钉钉的ID
        /// </summary>
        [Required]
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        public string Name { get; set; }
        /// <summary>
        /// 角色组ID
        /// </summary>
        [Required]
        public int SysRoleGroupId { get; set; }
        /// <summary>
        /// 角色类型
        /// </summary>
        [Required]
        public RoleType RoleType { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        [Required]
        public CommonStatus Status { get; set; }
        /// <summary>
        /// 角色组
        /// </summary>
        public SysRoleGroupOutput SysRoleGroup { get; set; }

        /// <summary>
        /// 角色数据权限范围
        /// </summary>
        public RoleDataScope RoleDataScope { get; set; }
    }
}