using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; using SqlSugar; namespace OpenAuth.Repository.Domain { /// /// 功能模块表 /// [SugarTable("sys_module")] public partial class SysModule : TreeEntity { /// /// 主页面URL /// [Description("主页面URL")] public string Url { get; set; } /// /// 节点图标文件名称 /// [Description("节点图标文件名称")] public string IconName { get; set; } /// /// 当前状态,0:正常,-1:隐藏,不在导航列表中显示 /// [Description("当前状态")] public int Status { get; set; } /// /// 排序号 /// [Description("排序号")] public int SortNo { get; set; } /// /// 模块标识 /// [Description("模块标识")] public string Code { get; set; } /// /// 模块标识 /// [Description("模块标识")] public string Encode { get; set; } /// /// 是否系统模块ModuleTypeId /// [Description("是否系统模块")] public bool IsSys { get; set; } /// /// 菜单类型Id /// [Description("菜单类型Id")] public string ModuleTypeId { get; set; } [Navigate(NavigateType.OneToMany, nameof(SysModuleElement.ModuleId))] public List Elements { get; set; } } }