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.UserServerMenu])]
|
public class SetMenuSwitchCommand : IRequest<int>
|
{
|
public SetMenuSwitchCommand()
|
{
|
Ids = [];
|
}
|
|
/// <summary>
|
/// Id
|
/// </summary>
|
public List<Guid> Ids { get; set; }
|
|
/// <summary>
|
/// 类型(null时不更新)
|
/// </summary>
|
public EnumMenuType? Type { get; set; }
|
|
/// <summary>
|
/// 是否禁用(null时不更新)
|
/// </summary>
|
public bool? IsDisabled { get; set; }
|
|
/// <summary>
|
/// 是否缓存(null时不更新)
|
/// </summary>
|
public bool? IsCache { get; set; }
|
}
|
}
|