TreeViewBind.cs 1.4 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 CollaborativePlatformProject.CollaborationPlatform.Entity
  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):         Sun Zheng Ji</para>
  17. ///
  18. /// <para>⽇期(Create Date):     </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. }