ThRbacMenuTreeDto.cs 1.31 KB
using Yi.Framework.Rbac.Domain.Shared.Enums;

namespace FoodLabeling.Th.Application.Contracts.Dtos.RbacMenu;

/// <summary>
/// 泰额版菜单树节点(含 menu 表主要字段)
/// </summary>
public class ThRbacMenuTreeDto
{
    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 MenuTypeEnum 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 MenuSourceEnum MenuSource { get; set; }

    public string? Query { get; set; }

    public string? ConcurrencyStamp { get; set; }

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