From d3f1887ba4a8b4ad822406a7a4fc97dbfea91850 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 04 八月 2025 09:09:34 +0800
Subject: [PATCH] feat:菜单开发

---
 FlexJobApi.Core/Models/User/Menus/Commands/DeleteMenuCommand.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/FlexJobApi.Core/Models/User/Menus/Commands/MenuDeleteCommand.cs b/FlexJobApi.Core/Models/User/Menus/Commands/DeleteMenuCommand.cs
similarity index 60%
rename from FlexJobApi.Core/Models/User/Menus/Commands/MenuDeleteCommand.cs
rename to FlexJobApi.Core/Models/User/Menus/Commands/DeleteMenuCommand.cs
index c74c2cf..f955f7a 100644
--- a/FlexJobApi.Core/Models/User/Menus/Commands/MenuDeleteCommand.cs
+++ b/FlexJobApi.Core/Models/User/Menus/Commands/DeleteMenuCommand.cs
@@ -1,6 +1,7 @@
 锘縰sing MediatR;
 using System;
 using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
@@ -10,13 +11,17 @@
     /// <summary>
     /// 鍒犻櫎鑿滃崟
     /// </summary>
-    public class MenuDeleteCommand : IRequest
+    public class DeleteMenuCommand : IRequest<int>
     {
-        public MenuDeleteCommand()
+        public DeleteMenuCommand()
         {
             Ids = [];
         }
 
+        /// <summary>
+        /// Id
+        /// </summary>
+        [Required]
         public List<Guid> Ids { get; set; }
     }
 }

--
Gitblit v1.9.1