Menu.cs 973 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace DllUfpEntity.Dto
  5. {
  6. public class Menu
  7. {
  8. public int Id { get; set; }
  9. public int Level { get; set; }
  10. public string Title { get; set; }
  11. public string Icon { get; set; }
  12. public bool Selected { get; set; }
  13. public string Url { get; set; }
  14. public bool Open { get; set; }
  15. public IEnumerable<Menu> Children { get; set; }
  16. }
  17. public class AlainMenu
  18. {
  19. public int Id { get; set; }
  20. public string Text { get; set; }
  21. public string Link { get; set; }
  22. public AlainIcon Icon { get; set; }
  23. public bool ShortcutRoot { get; set; }
  24. public string Target { get; set; }
  25. public IEnumerable<AlainMenu> Children { get; set; }
  26. }
  27. public class AlainIcon
  28. {
  29. public string Type { get; set; } = "icon";
  30. public string Value { get; set; } = "appstore";
  31. }
  32. }