CurrentUserMenuNodeDto.cs
1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
namespace FoodLabeling.Application.Contracts.Dtos.AuthSession;
/// <summary>
/// 当前用户可见菜单树节点(与权限分配一致)
/// </summary>
public class CurrentUserMenuNodeDto
{
public string Id { get; set; } = string.Empty;
public string ParentId { get; set; } = "0";
public string MenuName { get; set; } = string.Empty;
public string? RouterName { get; set; }
public string? Router { get; set; }
public string? PermissionCode { get; set; }
public int MenuType { get; set; }
public int MenuSource { get; set; }
public int OrderNum { get; set; }
public bool State { get; set; }
public string? MenuIcon { get; set; }
public string? Component { get; set; }
public bool IsLink { get; set; }
public bool IsCache { get; set; }
public bool IsShow { get; set; }
public string? Query { get; set; }
public string? Remark { get; set; }
public List<CurrentUserMenuNodeDto> Children { get; set; } = new();
}