ThreeModelEntity.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.MessageSubUtil
  7. {
  8. /// <summary>
  9. ///
  10. /// <para>文件名(File Name): ThreeModelEntity.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月28日17:35:46</para>
  19. ///
  20. /// 修改记录(Revision History):
  21. /// R1:
  22. /// 修改作者:
  23. /// 修改日期:
  24. /// 修改理由:
  25. ///
  26. /// </summary>
  27. public class ThreeModelEntity
  28. {
  29. /// <summary>
  30. /// 子级数据
  31. /// </summary>
  32. /// <param name="node"></param>
  33. public ThreeModelEntity(string node)
  34. {
  35. Node = node;
  36. }
  37. /// <summary>
  38. /// 父级数据
  39. /// </summary>
  40. /// <param name="node"></param>
  41. /// <param name="subDatas"></param>
  42. public ThreeModelEntity(string node, List<ThreeModelEntity> subDatas) : this(node)
  43. {
  44. SubDatas = subDatas;
  45. }
  46. /// <summary>
  47. /// 内容
  48. /// </summary>
  49. public string Node { get; set; }
  50. /// <summary>
  51. /// 子级数据
  52. /// </summary>
  53. public List<ThreeModelEntity> SubDatas { get; set; } = new List<ThreeModelEntity>();
  54. }
  55. }