Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.Common/Models/VueRouterModel.cs

34 lines
930 B
C#
Raw Normal View History

2022-09-08 18:18:34 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Common.Models
{
public class VueRouterModel : ITreeModel<VueRouterModel>
{
2022-09-11 16:49:40 +08:00
public long Id { get; set; }
public long ParentId { get; set; }
public int OrderNum { get; set; }
2022-09-08 18:18:34 +08:00
public string Name { get; set; }
public string Path { get; set; }
public bool Hidden { get; set; }
public string Redirect { get; set; }
public string Component { get; set; }
public bool AlwaysShow { get; set; }
2022-09-25 18:06:07 +08:00
public Meta Meta { get; set; } = new Meta();
2022-09-11 16:49:40 +08:00
public List<VueRouterModel> Children { get; set; }
2022-09-08 18:18:34 +08:00
}
public class Meta
{
public string Title { get; set; }
public string Icon { get; set; }
2022-09-09 19:22:14 +08:00
public bool NoCache { get; set; }
2022-09-08 18:18:34 +08:00
public string link { get; set; }
}
}