RbacMenuTreeDto.cs 1.24 KB
namespace FoodLabeling.Application.Contracts.Dtos.RbacMenu;

/// <summary>
/// 权限树节点(返回菜单表全部字段)
/// </summary>
public class RbacMenuTreeDto
{
    public string Id { get; set; } = string.Empty;

    public bool IsDeleted { get; set; }

    public DateTime CreationTime { get; set; }

    public string? CreatorId { get; set; }

    public string? LastModifierId { get; set; }

    public DateTime? LastModificationTime { get; set; }

    public int OrderNum { get; set; }

    public bool State { get; set; }

    public string MenuName { get; set; } = string.Empty;

    public string? RouterName { get; set; }

    public int MenuType { get; set; }

    public string? PermissionCode { get; set; }

    public string ParentId { get; set; } = string.Empty;

    public string? MenuIcon { get; set; }

    public string? Router { get; set; }

    public bool IsLink { get; set; }

    public bool IsCache { get; set; }

    public bool IsShow { get; set; }

    public string? Remark { get; set; }

    public string? Component { get; set; }

    public int MenuSource { get; set; }

    public string? Query { get; set; }

    public string? ConcurrencyStamp { get; set; }

    public List<RbacMenuTreeDto>? Children { get; set; }
}