using MediatR;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace FlexJobApi.Core
|
{
|
/// <summary>
|
/// 设置字典数据是否禁用
|
/// </summary>
|
[Resource([EnumResourceController.Dictionary])]
|
public class SetDictionaryDataIsDisabledCommand : IRequest<int>
|
{
|
public SetDictionaryDataIsDisabledCommand()
|
{
|
Ids = [];
|
}
|
|
/// <summary>
|
/// Id
|
/// </summary>
|
public List<Guid> Ids { get; set; }
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
public bool IsDisabled { get; set; }
|
}
|
}
|