using XYY.Core.Standard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Model.Standard.User.Enums;

namespace XYY.Model.Standard
{
    public class User_Permission : BaseEntity
    {
        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 父节点编号
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 根节点编号
        /// </summary>
        public int Root { get; set; }
        /// <summary>
        /// action地址
        /// </summary>
        public string Href { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否为菜单
        /// </summary>
        public bool IsMenu { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        public UserSystem SystemId { get; set; }
    }
}
