TreeDTO.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Sugar.Enties
  5. {
  6. public class TreeDTO
  7. {
  8. public List<rootDTO> root { get; set; }
  9. }
  10. public class rootDTO
  11. {
  12. public string id { get; set; }
  13. public string key { get; set; }
  14. public string label { get; set; }
  15. public string data { get; set; }
  16. public string icon { get; set; }
  17. public List<Treechildren> children { get; set; }
  18. }
  19. public class Treechildren
  20. {
  21. public string id { get; set; }
  22. public string key { get; set; }
  23. public string label { get; set; }
  24. public string data { get; set; }
  25. public string icon { get; set; }
  26. public List<Treechildren> children { get; set; }
  27. }
  28. //public class Treesecondchildren
  29. //{
  30. // public string key { get; set; }
  31. // public string label { get; set; }
  32. // public string data { get; set; }
  33. // public string icon { get; set; }
  34. // public List<Treethirdchildren> children { get; set; }
  35. //}
  36. //public class Treethirdchildren
  37. //{
  38. // public string key { get; set; }
  39. // public string label { get; set; }
  40. // public string data { get; set; }
  41. // public string icon { get; set; }
  42. // public Treefourthchildren children { get; set; }
  43. //}
  44. //public class Treefourthchildren
  45. //{
  46. // public string key { get; set; }
  47. // public string label { get; set; }
  48. // public string data { get; set; }
  49. // public string icon { get; set; }
  50. //}
  51. }