2023-04-13 21:12:06 +08:00
|
|
|
|
using System.Collections.Generic;
|
2023-12-11 09:55:12 +08:00
|
|
|
|
using static Yi.Framework.Core.Helper.TreeHelper;
|
2023-04-13 21:12:06 +08:00
|
|
|
|
|
2023-12-11 09:55:12 +08:00
|
|
|
|
namespace Yi.Framework.Rbac.Domain.Shared.Dtos
|
2023-04-13 21:12:06 +08:00
|
|
|
|
{
|
|
|
|
|
|
public class Vue3RouterDto : ITreeModel<Vue3RouterDto>
|
|
|
|
|
|
{
|
2023-12-11 09:55:12 +08:00
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
public Guid ParentId { get; set; }
|
2023-04-13 21:12:06 +08:00
|
|
|
|
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<Vue3RouterDto> 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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|