using Hotline.CallCenter.Calls; using SqlSugar; using System.ComponentModel; using XF.Domain.Entities; using XF.Domain.Repository; namespace Hotline.Settings { [Description("菜单")] public class SystemMenu : CreationEntity { /// /// 页面名称 /// public string PageName { get; set; } /// /// 排序 /// public int DisplayOrder { get; set; } /// /// 上级ID /// [SugarColumn(IsNullable = true)] public string ParentId { get; set; } /// /// 功能点Code /// [SugarColumn(IsNullable = true)] public string PermissionCode { get; set; } /// /// 是否显示 /// public bool IsHide { get; set; } /// /// 是否外链 /// public bool IsLink { get; set; } /// /// 外部连接 /// [SugarColumn(IsNullable = true)] public string Link { get; set; } /// /// 路由路径 /// [SugarColumn(IsNullable = true)] public string Path { get; set; } /// /// 是否缓存 /// public bool IsKeepAlive { get; set; } /// /// 是否固定 /// public bool IsAffix { get; set; } /// /// 是否内嵌 /// public bool IsIframe { get; set; } /// /// 路由名称 /// [SugarColumn(IsNullable = true)] public string RuleName{ get; set; } /// /// 组件路径 /// public string Component { get; set; } /// /// 图标 /// [SugarColumn(IsNullable = true)] public string Icon { get; set; } /// /// 是否可为快捷 /// public bool IsFast { get; set; } /// /// 快捷图标 /// [SugarColumn(IsNullable = true)] public string FastIcon { get; set; } [SugarColumn(IsIgnore = true)] public List children { get; set; } [SugarColumn(IsIgnore = true)] [Navigate(NavigateType.OneToMany, nameof(SystemButton.MenuId))] public List ButtonArr { get; set; } } }