namespace Admin.NET.Core.Service; public class MenuInput { /// /// 标题 /// public string Title { get; set; } /// /// 菜单类型(1目录 2菜单 3按钮) /// public MenuTypeEnum? Type { get; set; } } public class AddMenuInput : SysMenu { /// /// 名称 /// [Required(ErrorMessage = "菜单名称不能为空")] public override string Title { get; set; } } public class UpdateMenuInput : AddMenuInput { } public class DeleteMenuInput : BaseIdInput { }