TreeViewBind.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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): TreeViewBind.cs</para>
  11. ///
  12. /// <para>描述(Description): 点击项目下TreeViewBind的数据</para>
  13. ///
  14. /// <para>数据表(Tables): nothing</para>
  15. ///
  16. /// <para>作者(Author): Ou Rui Song</para>
  17. ///
  18. /// <para>日期(Create Date): 2024年4月20日15:22:12</para>
  19. ///
  20. /// 修改记录(Revision History):
  21. /// R1:
  22. /// 修改作者:
  23. /// 修改日期:
  24. /// 修改理由:
  25. ///
  26. /// </summary>
  27. public class TreeViewBind
  28. {
  29. /// <summary>
  30. /// 名称
  31. /// </summary>
  32. public string Name { get; set; }
  33. public bool IsPro { get; set; }
  34. /// <summary>
  35. /// 子集
  36. /// </summary>
  37. public List<TreeViewBind> Children { get; set; }
  38. public TreeViewBind(string name)
  39. {
  40. Name = name;
  41. }
  42. public TreeViewBind(string name, List<TreeViewBind> children)
  43. {
  44. Name = name;
  45. Children = children;
  46. }
  47. public TreeViewBind(string name, bool isPro)
  48. {
  49. Name = name;
  50. IsPro = isPro;
  51. }
  52. }
  53. }