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

namespace CollaborativePlatformMain.DFEntity.MessageSubUtil
{
    /// <summary>
    /// 
    /// <para>文件名(File Name):     ThreeModelEntity.cs</para>
    /// 
    /// <para>描述(Description):     三维数据</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年4月28日17:35:46</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    public class ThreeModelEntity
    {
        /// <summary>
        /// 子级数据
        /// </summary>
        /// <param name="node"></param>
        public ThreeModelEntity(string node)
        {
            Node = node;
        }
        

        /// <summary>
        /// 父级数据
        /// </summary>
        /// <param name="node"></param>
        /// <param name="subDatas"></param>
        public ThreeModelEntity(string node, List<ThreeModelEntity> subDatas) : this(node)
        {
            SubDatas = subDatas;
        }

        /// <summary>
        /// 内容
        /// </summary>
        public string Node { get; set; }


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


    }
}
