using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; using SqlSugar; namespace OpenAuth.Repository.Domain { /// /// 模块元素表(需要权限控制的按钮) /// [SugarTable("sys_moduleelement")] public partial class SysModuleElement { [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } /// /// DOM ID /// [Description("DOM ID")] public string DomId { get; set; } /// /// 名称 /// [Description("名称")] public string Name { get; set; } /// /// 元素附加属性 /// [Description("元素附加属性")] public string Attr { get; set; } /// /// 元素调用脚本 /// [Description("元素调用脚本")] public string Script { get; set; } /// /// 元素图标 /// [Description("元素图标")] public string Icon { get; set; } /// /// 元素样式 /// [Description("元素样式")] public string Class { get; set; } /// /// 备注 /// [Description("备注")] public string Remark { get; set; } /// /// 排序字段 /// [Description("排序字段")] public int Sort { get; set; } /// /// 功能模块Id /// [Description("功能模块Id")] public string ModuleId { get; set; } /// /// 启用禁用状态字段(true启用,flse禁用) /// [Description("启用禁用状态字段(true启用,flse禁用)")] public bool Status { get; set; } } }