sunpengfei
2025-08-01 9fd157a63dfbb8ee9f32fff7540c97eb4a3d3cce
FlexJobApi.Core/Models/User/Menus/Queries/MenuAllQuery.cs
@@ -1,4 +1,5 @@
using MediatR;
using Mapster;
using MediatR;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
@@ -13,6 +14,20 @@
    /// </summary>
    public class MenuListQuery : IRequest<MenuListCallback>
    {
        public MenuListQuery()
        {
        }
        /// <summary>
        /// 上级Id
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
    }
    /// <summary>
@@ -35,7 +50,6 @@
    {
        public MenuListCallbackItem()
        {
            Childrens = [];
        }
        /// <summary>
@@ -47,11 +61,6 @@
        /// 上级Id
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 下级
        /// </summary>
        public List<MenuListCallbackItem> Childrens { get; set; }
        /// <summary>
        /// 菜单路径