Merge branch 'net5.0'
This commit is contained in:
13
ZR.Model/System/Vo/LangVo.cs
Normal file
13
ZR.Model/System/Vo/LangVo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZR.Model.System.Vo
|
||||
{
|
||||
public class LangVo
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,6 @@ namespace ZR.Model.System.Vo
|
||||
public bool Hidden { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Path { get; set; }
|
||||
//[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string Redirect { get; set; }
|
||||
public Meta Meta { get; set; }
|
||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
||||
@@ -39,6 +38,7 @@ namespace ZR.Model.System.Vo
|
||||
/// 设置为true,则不会被 <keep-alive>缓存
|
||||
/// </summary>
|
||||
public bool NoCache { get; set; }
|
||||
public string TitleKey { get; set; } = string.Empty;
|
||||
|
||||
public Meta(string title, string icon, bool noCache)
|
||||
{
|
||||
@@ -46,5 +46,12 @@ namespace ZR.Model.System.Vo
|
||||
Icon = icon;
|
||||
NoCache = noCache;
|
||||
}
|
||||
public Meta(string title, string icon, bool noCache, string titleKey)
|
||||
{
|
||||
Title = title;
|
||||
Icon = icon;
|
||||
NoCache = noCache;
|
||||
TitleKey = titleKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user