using MediatR;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlexJobApi.Core
{
///
/// 设置角色是否禁用
///
[Resource([EnumResourceController.Role])]
public class SetRoleIsDisabledCommand : IRequest
{
public SetRoleIsDisabledCommand()
{
Ids = [];
}
///
/// Id
///
[Required]
public List Ids { get; set; }
///
/// 是否禁用
///
public bool IsDisabled { get; set; }
}
}