using System.Collections.Generic; using Datory.Annotations; namespace GxPress.Entity.Menus { /// /// 系统管理角色权限 /// [DataTable("tede_menus")] public class Menus : Datory.Entity { /// /// 父级ID /// /// [DataColumn] public int ParentId { get; set; } /// /// 标题 /// /// [DataColumn] public string Title { get; set; } /// /// 名称 /// /// [DataColumn] public string Name { get; set; } /// /// 图标名称 /// /// [DataColumn] public string Icon { get; set; } /// /// 孩子 /// /// public List Children { get; set; } /// /// 路径 /// /// [DataColumn] public string Path { get; set; } } /// /// /// public class Children { /// /// /// /// public int Id { get; set; } /// /// 父级ID /// /// public int ParentId { get; set; } /// /// 标题 /// /// public string Title { get; set; } /// /// 名称 /// /// public string Name { get; set; } /// /// 图标名称 /// /// public string Icon { get; set; } /// /// 路径 /// /// public string Path { get; set; } } }