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

namespace CollaborativePlatformMain.DFEntity
{
    /// <summary>
    /// 
    /// <para>文件名(File Name):     StandardizedEntity.cs</para>
    /// 
    /// <para>描述(Description):     规范数据库</para>
    /// 
    /// <para>数据表(Tables):        nothing</para>
    /// 
    /// <para>作者(Author):          Ou Rui Song</para>
    /// 
    /// <para>日期(Create Date):     2024年4月29日16:58:42</para>
    /// 
    /// 修改记录(Revision History):
    ///     R1:
    ///         修改作者:
    ///         修改日期:
    ///         修改理由:
    /// 
    /// </summary>
    public class StandardizedEntity
    {

        /// <summary>
        /// 章节及子集内容
        /// </summary>
        /// <param name="name"></param>
        /// <param name="subStandNodes"></param>
        public StandardizedEntity(string name, List<StandardizedEntity> subStandNodes)
        {
            Name = name;
            SubStandNodes = subStandNodes;
        }

        /// <summary>
        /// 序号及内容
        /// </summary>
        /// <param name="name"></param>
        /// <param name="node"></param>
        public StandardizedEntity(string name, string node)
        {
            Name = name;
            Node = node;
        }


        /// <summary>
        /// 规范名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 子集数据
        /// </summary>
        public List<StandardizedEntity> SubStandNodes { get; set; } = new List<StandardizedEntity>();

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

    }
}
