Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Common/Models/VueRouterModel.cs
2023-01-06 11:12:47 +08:00

34 lines
1.0 KiB
C#

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>
{
public long Id { get; set; }
public long ParentId { get; set; }
public int OrderNum { 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; } = 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 class Meta
{
public string Title { get; set; } = string.Empty;
public string Icon { get; set; } = string.Empty;
public bool NoCache { get; set; }
public string link { get; set; } = string.Empty;
}
}