TreeDto.cs 409 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace ProductionLineMonitor.Core.Dtos
  5. {
  6. public class TreeDto
  7. {
  8. public List<Node> Nodes = new List<Node>();
  9. }
  10. public class Node
  11. {
  12. public string Id { get; set; }
  13. public string Name { set; get; }
  14. public bool Open { get; set; }
  15. public List<Node> Children { get; set; }
  16. }
  17. }