using Edu.Common.Enum;
using System.Collections.Generic;

namespace Edu.Model.ViewModel.System
{
    /// <summary>
    /// 角色功能权限树形列表
    /// </summary>
    public class RoleFunctionPermissionTree_ViewModel
    {
        /// <summary>
        /// 角色id
        /// </summary>
        public int Role_Id { get; set; }

        /// <summary>
        /// 分类编号【取枚举值得前两位】
        /// </summary>
        public string CategoryId { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 功能菜单id
        /// </summary>
        public int Action_Id { get; set; }

        /// <summary>
        /// 上级节点编号
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 权限名称描述
        /// </summary>
        public string ActionName { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        public bool IsChecked { get; set; }

        /// <summary>
        /// 下级列表
        /// </summary>
        public List<RoleFunctionPermissionTree_ViewModel> SubList { get; set; }
    }
}
