File was renamed from FlexJobApi.Core/Models/User/Menus/Commands/MenuDeleteCommand.cs |
| | |
| | | using MediatR; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | /// <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; } |
| | | } |
| | | } |