using System.Collections.Generic; namespace Bootstrap.DataAccess { /// /// /// public class Menu { /// /// 获得/设置 菜单主键ID /// public int ID { set; get; } /// /// 获得/设置 父级菜单ID /// public int ParentId { set; get; } /// /// 获得/设置 父级菜单名称 /// public string ParentName { get; set; } /// /// 获得/设置 菜单名称 /// public string Name { get; set; } /// /// 获得/设置 菜单序号 /// public int Order { get; set; } /// /// 获得/设置 菜单图标 /// public string Icon { get; set; } /// /// 获得/设置 菜单URL地址 /// public string Url { get; set; } /// /// 获得/设置 菜单分类 /// public string Category { get; set; } /// /// 获得 菜单分类名称,取字典表中的Name category="菜单" /// public string CategoryName { get; set; } /// /// 获得/设置 是否当前被选中 active为选中 /// public string Active { get; set; } /// /// /// public IEnumerable Menus { get; set; } } }