From 4eb03794f7b0f315c2f4ae8d84e12b7c3ca9a407 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期五, 01 八月 2025 15:03:00 +0800 Subject: [PATCH] feat:文档修改 --- FlexJobApi.Core/Models/User/Menus/Queries/MenuAllQuery.cs | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/FlexJobApi.Core/Models/User/Menus/Queries/MenuAllQuery.cs b/FlexJobApi.Core/Models/User/Menus/Queries/MenuAllQuery.cs index 9215ab7..5cd0901 100644 --- a/FlexJobApi.Core/Models/User/Menus/Queries/MenuAllQuery.cs +++ b/FlexJobApi.Core/Models/User/Menus/Queries/MenuAllQuery.cs @@ -1,4 +1,5 @@ -锘縰sing System; +锘縰sing MediatR; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; @@ -10,7 +11,7 @@ /// <summary> /// 鏌ヨ鎵�鏈夎彍鍗� /// </summary> - public class MenuAllQuery + public class MenuAllQuery : IRequest<MenuAllCallback> { } @@ -32,6 +33,11 @@ /// </summary> public class MenuAllCallbackItem { + public MenuAllCallbackItem() + { + Childrens = []; + } + /// <summary> /// Id /// </summary> @@ -43,6 +49,11 @@ public Guid? ParentId { get; set; } /// <summary> + /// 涓嬬骇 + /// </summary> + public List<MenuAllCallbackItem> Childrens { get; set; } + + /// <summary> /// 鑿滃崟璺緞 /// </summary> public string Path { get; set; } -- Gitblit v1.9.1