sunpengfei
1 天以前 423abcb9d7af20b0d18a49cc4f13167f4b64107f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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; }
    }
}