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

namespace CollaborativePlatformMain.DFEntity.MessageSubUtil
{
    /// <summary>
    /// 
    /// <para>文件名(File Name):     ToolFunctionEntity.cs</para>
    /// 
    /// <para>描述(Description):     工具栏数据</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年4月30日10:14:07</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    public class ToolFunctionEntity
    {
        /// <summary>
        /// 工具栏数据
        /// </summary>
        /// <param name="funcitonSystemName"></param>
        /// <param name="subDatas"></param>
        public ToolFunctionEntity(string funcitonSystemName, List<ToolFunctionEntity> subDatas)
        {
            FuncitonSystemName = funcitonSystemName;
            SubDatas = subDatas;
        }

        /// <summary>
        /// 单功能数据
        /// </summary>
        /// <param name="funcitonName"></param>
        /// <param name="imagePath"></param>
        /// <param name="isCheck"></param>
        public ToolFunctionEntity(string funcitonName, string imagePath, bool isCheck)
        {
            FuncitonName = funcitonName;
            ImagePath = imagePath;
            IsCheck = isCheck;
        }



        /// <summary>
        /// 功能分类
        /// </summary>
        public string FuncitonSystemName { get; set; }

        /// <summary>
        /// 子级
        /// </summary>
        public List<ToolFunctionEntity> SubDatas { get; set; } = new List<ToolFunctionEntity>();



        /// <summary>
        /// 功能名称
        /// </summary>
        public string FuncitonName { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public string ImagePath { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        public bool IsCheck { get; set; }

    }
}
