using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YBDevice.Entity;

namespace YBDevice.Application.SystemInfo
{
    /// <summary>
    /// 菜单按钮列表
    /// </summary>
    public class MenuActionListS2CDto
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单ID
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 按钮列表
        /// </summary>
        public List<MenuActionItemS2SDto> ActionList { get; set; }
        /// <summary>
        /// 父菜单ID
        /// </summary>
        public Guid ParentId { get; set; }
        /// <summary>
        /// 是否选中
        /// </summary>
        public bool IsChecked { get; set; } = false;
    }
    /// <summary>
    /// 菜单按钮项
    /// </summary>
    public class MenuActionItemS2SDto : YB_nMenuAction
    {
        /// <summary>
        /// 是否选择
        /// </summary>
        public bool IsChecked { get; set; } = false;
    }
    /// <summary>
    /// 菜单按钮列表
    /// </summary>
    public class MenuActionS2SDto : YB_nMenuAction
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
    }
}
