From c97916f276a328fa70696a8582dc0c23144424f9 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期三, 06 八月 2025 16:59:32 +0800 Subject: [PATCH] feat:企业开发 --- FlexJobApi.Core/Models/User/Roles/Commands/SetRoleIsDisabledCommand.cs | 16 +--------------- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/FlexJobApi.Core/Models/User/Roles/Commands/SetRoleIsDisabledCommand.cs b/FlexJobApi.Core/Models/User/Roles/Commands/SetRoleIsDisabledCommand.cs index b84990b..4516bdd 100644 --- a/FlexJobApi.Core/Models/User/Roles/Commands/SetRoleIsDisabledCommand.cs +++ b/FlexJobApi.Core/Models/User/Roles/Commands/SetRoleIsDisabledCommand.cs @@ -12,22 +12,8 @@ /// 璁剧疆瑙掕壊鏄惁绂佺敤 /// </summary> [Resource([EnumResourceController.Role])] - public class SetRoleIsDisabledCommand : IRequest<int> + public class SetRoleIsDisabledCommand : SetIsDisabledCommand { - public SetRoleIsDisabledCommand() - { - Ids = []; - } - /// <summary> - /// Id - /// </summary> - [Required] - public List<Guid> Ids { get; set; } - - /// <summary> - /// 鏄惁绂佺敤 - /// </summary> - public bool IsDisabled { get; set; } } } -- Gitblit v1.9.1