namespace Atomx.Admin.Client.Models { public class MenuModel { /// /// 分类ID /// public long Id { get; set; } /// /// 分类类型,1-管理后台系统 /// public int Type { get; set; } /// /// 上级分类ID /// public long ParentId { get; set; } /// /// 分类名称 /// public string Name { get; set; } = string.Empty; /// /// 分类图片 /// public string Icon { get; set; } = string.Empty; /// /// 菜单分组,针对折叠菜单效果 /// public string Key { get; set; } = string.Empty; /// /// 菜单链接的URL /// public string Url { get; set; } = string.Empty; /// /// 权限代码 /// public string Code { get; set; } = string.Empty; /// /// 是否外链接 /// public bool IsLink { get; set; } /// /// 是否可用 /// public bool Enabled { get; set; } /// /// 层级深度 /// public int Depth { get; set; } /// /// 层级路径 /// public string Path { get; set; } = string.Empty; /// /// 排序 /// public int DisplayOrder { get; set; } } }