StandardizedEntity.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace CollaborativePlatformMain.DFEntity
  7. {
  8. /// <summary>
  9. ///
  10. /// <para>文件名(File Name): StandardizedEntity.cs</para>
  11. ///
  12. /// <para>描述(Description): 规范数据库</para>
  13. ///
  14. /// <para>数据表(Tables): nothing</para>
  15. ///
  16. /// <para>作者(Author): Ou Rui Song</para>
  17. ///
  18. /// <para>日期(Create Date): 2024年4月29日16:58:42</para>
  19. ///
  20. /// 修改记录(Revision History):
  21. /// R1:
  22. /// 修改作者:
  23. /// 修改日期:
  24. /// 修改理由:
  25. ///
  26. /// </summary>
  27. public class StandardizedEntity
  28. {
  29. /// <summary>
  30. /// 章节及子集内容
  31. /// </summary>
  32. /// <param name="name"></param>
  33. /// <param name="subStandNodes"></param>
  34. public StandardizedEntity(string name, List<StandardizedEntity> subStandNodes)
  35. {
  36. Name = name;
  37. SubStandNodes = subStandNodes;
  38. }
  39. /// <summary>
  40. /// 序号及内容
  41. /// </summary>
  42. /// <param name="name"></param>
  43. /// <param name="node"></param>
  44. public StandardizedEntity(string name, string node)
  45. {
  46. Name = name;
  47. Node = node;
  48. }
  49. /// <summary>
  50. /// 规范名
  51. /// </summary>
  52. public string Name { get; set; }
  53. /// <summary>
  54. /// 子集数据
  55. /// </summary>
  56. public List<StandardizedEntity> SubStandNodes { get; set; } = new List<StandardizedEntity>();
  57. /// <summary>
  58. /// 内容
  59. /// </summary>
  60. public string Node { get; set; }
  61. }
  62. }