using System.ComponentModel.DataAnnotations.Schema;

namespace Atomx.Admin.Client.Models
{
    public class RoleModel
    {
        /// <summary>
        /// 数据ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; } = string.Empty;

        /// <summary>
        /// 权限
        /// </summary>
        public string Permission { get; set; } = string.Empty;

        /// <summary>
        /// 是否系统角色
        /// </summary>
        public bool IsSystemRole { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 是否是编辑
        /// </summary>
        public bool IsEdit { get; set; }
    }
}
