CurrentUserMenuNodeDto.cs 1003 Bytes
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();
}