namespace Atomx.Admin.Client.Models
{
    public class MenuModel
    {
        /// <summary>
		/// 分类ID
		/// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 分类类型,1-管理后台系统
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 上级分类ID
        /// </summary>
        public long ParentId { get; set; }

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

        /// <summary>
        /// 分类图片
        /// </summary>
        public string Icon { get; set; } = string.Empty;

        /// <summary>
        /// 菜单分组，针对折叠菜单效果
        /// </summary>
        public string Key { get; set; } = string.Empty;

        /// <summary>
        /// 菜单链接的URL
        /// </summary>
        public string Url { get; set; } = string.Empty;

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

        /// <summary>
        /// 是否外链接
        /// </summary>
        public bool IsLink { get; set; }

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

        /// <summary>
        /// 层级深度
        /// </summary>
        public int Depth { get; set; }

        /// <summary>
        /// 层级路径
        /// </summary>
        public string Path { get; set; } = string.Empty;

        /// <summary>
        /// 排序
        /// </summary>
        public int DisplayOrder { get; set; }
    }
}
