模板重新生成可空类型

This commit is contained in:
陈淳
2023-01-06 11:12:47 +08:00
parent 576397a042
commit 29df3d658b
52 changed files with 573 additions and 478 deletions

View File

@@ -12,22 +12,22 @@ namespace Yi.Framework.Common.Models
public long ParentId { get; set; }
public int OrderNum { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public string Name { get; set; } = string.Empty;
public string Path { get; set; } = string.Empty;
public bool Hidden { get; set; }
public string Redirect { get; set; }
public string Component { get; set; }
public string Redirect { get; set; } = string.Empty;
public string Component { get; set; } = string.Empty;
public bool AlwaysShow { get; set; }
public Meta Meta { get; set; } = new Meta();
public List<VueRouterModel> Children { get; set; }
public List<VueRouterModel>? Children { get; set; }
}
public class Meta
{
public string Title { get; set; }
public string Icon { get; set; }
public string Title { get; set; } = string.Empty;
public string Icon { get; set; } = string.Empty;
public bool NoCache { get; set; }
public string link { get; set; }
public string link { get; set; } = string.Empty;
}
}