using Microsoft.AspNetCore.DataProtection.KeyManagement; using SqlSugar; using System; namespace EntrustSettle.Model.Models { /// /// 接口API地址信息表 /// public class Modules : BaseEntity { public Modules() { //this.ChildModule = new List(); //this.ModulePermission = new List(); //this.RoleModulePermission = new List(); } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 菜单链接地址 /// [SugarColumn(Length = 100, IsNullable = true)] public string LinkUrl { get; set; } /// /// 区域名称 /// [SugarColumn(Length = 2000, IsNullable = true)] public string Area { get; set; } /// /// 控制器名称 /// [SugarColumn(Length = 2000, IsNullable = true)] public string Controller { get; set; } /// /// Action名称 /// [SugarColumn(Length = 2000, IsNullable = true)] public string Action { get; set; } /// /// 图标 /// [SugarColumn(Length = 100, IsNullable = true)] public string Icon { get; set; } /// /// 菜单编号 /// [SugarColumn(Length = 10, IsNullable = true)] public string Code { get; set; } /// /// 排序 /// public int OrderSort { get; set; } /// /// /描述 /// [SugarColumn(Length = 100, IsNullable = true)] public string Description { get; set; } /// /// 是否是右侧菜单 /// public bool IsMenu { get; set; } /// /// 是否激活 /// public bool Enabled { get; set; } /// /// 父ID /// [SugarColumn(IsNullable = true)] public long ParentId { get; set; } } }