fix #I8OB8D 增加可以配置界面是否缓存

This commit is contained in:
wintel 2023-12-30 20:37:38 +08:00
parent 51155a7790
commit cd81340814
2 changed files with 104 additions and 93 deletions

View File

@ -63,6 +63,11 @@ namespace OpenAuth.App.Response
public string Code { get; set; } public string Code { get; set; }
public bool IsSys { get; set; } public bool IsSys { get; set; }
/// <summary>
/// 前端界面是否缓存
/// </summary>
public bool KeepAlive { get; set; }
/// <summary> /// <summary>
/// 模块中的元素 /// 模块中的元素

View File

@ -1,94 +1,100 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <autogenerated> // <autogenerated>
// This code was generated by a CodeSmith Template. // This code was generated by a CodeSmith Template.
// //
// DO NOT MODIFY contents of this file. Changes to this // DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated. // file will be lost if the code is regenerated.
// Author:Yubao Li // Author:Yubao Li
// </autogenerated> // </autogenerated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
using System.ComponentModel; using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core; using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain namespace OpenAuth.Repository.Domain
{ {
/// <summary> /// <summary>
/// 功能模块表 /// 功能模块表
/// </summary> /// </summary>
[Table("Module")] [Table("Module")]
public partial class Module : TreeEntity public partial class Module : TreeEntity
{ {
public Module() public Module()
{ {
this.CascadeId= string.Empty; this.CascadeId= string.Empty;
this.Name= string.Empty; this.Name= string.Empty;
this.Url= string.Empty; this.Url= string.Empty;
this.HotKey= string.Empty; this.HotKey= string.Empty;
this.IconName= string.Empty; this.IconName= string.Empty;
this.Status= 0; this.Status= 0;
this.ParentName= string.Empty; this.ParentName= string.Empty;
this.Vector= string.Empty; this.Vector= string.Empty;
this.SortNo= 0; this.SortNo= 0;
this.ParentId= string.Empty; this.ParentId= string.Empty;
this.Code= string.Empty; this.Code= string.Empty;
} }
/// <summary> /// <summary>
/// 主页面URL /// 主页面URL
/// </summary> /// </summary>
[Description("主页面URL")] [Description("主页面URL")]
public string Url { get; set; } public string Url { get; set; }
/// <summary> /// <summary>
/// 热键 /// 热键
/// </summary> /// </summary>
[Description("热键")] [Description("热键")]
public string HotKey { get; set; } public string HotKey { get; set; }
/// <summary> /// <summary>
/// 是否叶子节点 /// 是否叶子节点
/// </summary> /// </summary>
[Description("是否叶子节点")] [Description("是否叶子节点")]
public bool IsLeaf { get; set; } public bool IsLeaf { get; set; }
/// <summary> /// <summary>
/// 是否自动展开 /// 是否自动展开
/// </summary> /// </summary>
[Description("是否自动展开")] [Description("是否自动展开")]
public bool IsAutoExpand { get; set; } public bool IsAutoExpand { get; set; }
/// <summary> /// <summary>
/// 节点图标文件名称 /// 节点图标文件名称
/// </summary> /// </summary>
[Description("节点图标文件名称")] [Description("节点图标文件名称")]
public string IconName { get; set; } public string IconName { get; set; }
/// <summary> /// <summary>
/// 当前状态0正常-1隐藏不在导航列表中显示 /// 当前状态0正常-1隐藏不在导航列表中显示
/// </summary> /// </summary>
[Description("当前状态")] [Description("当前状态")]
public int Status { get; set; } public int Status { get; set; }
/// <summary> /// <summary>
/// 矢量图标 /// 矢量图标
/// </summary> /// </summary>
[Description("矢量图标")] [Description("矢量图标")]
public string Vector { get; set; } public string Vector { get; set; }
/// <summary> /// <summary>
/// 排序号 /// 排序号
/// </summary> /// </summary>
[Description("排序号")] [Description("排序号")]
public int SortNo { get; set; } public int SortNo { get; set; }
/// <summary> /// <summary>
/// 模块标识 /// 模块标识
/// </summary> /// </summary>
[Description("模块标识")] [Description("模块标识")]
public string Code { get; set; } public string Code { get; set; }
/// <summary> /// <summary>
/// 是否系统模块 /// 是否系统模块
/// </summary> /// </summary>
[Description("是否系统模块")] [Description("是否系统模块")]
public bool IsSys { get; set; } public bool IsSys { get; set; }
} /// <summary>
/// 前端界面是否缓存
/// </summary>
/// [Description("前端界面是否缓存")]
public bool KeepAlive { get; set; }
}
} }