AntMenuOutput.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application
  3. {
  4. public class AntMenuOutput
  5. {
  6. /// <summary>
  7. /// id
  8. /// </summary>
  9. public int? Id { get; set; }
  10. /// <summary>
  11. /// 父id
  12. /// </summary>
  13. public int? Pid { get; set; }
  14. /// <summary>
  15. /// 菜单类型(字典 0目录 1菜单 2按钮)
  16. /// </summary>
  17. public MenuType MenuType { get; set; }
  18. /// <summary>
  19. /// 名称,映射Code,作为国际化标识
  20. /// </summary>
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 标题
  24. /// </summary>
  25. public string Title { get; set; }
  26. /// <summary>
  27. /// 组件
  28. /// </summary>
  29. public string Component { get; set; }
  30. /// <summary>
  31. /// 路径
  32. /// </summary>
  33. public string Path { get; set; }
  34. /// <summary>
  35. /// 图标
  36. /// </summary>
  37. public string Icon { get; set; }
  38. /// <summary>
  39. /// 是否可见
  40. /// </summary>
  41. public bool Visible { get; set; }
  42. /// <summary>
  43. /// 如需外部打开,增加:_blank
  44. /// </summary>
  45. public string Target { get; set; }
  46. /// <summary>
  47. /// 内链打开http链接
  48. /// </summary>
  49. public string Link { get; set; }
  50. /// <summary>
  51. /// 打开方式(字典 0无 1组件 2内链 3外链)
  52. /// </summary>
  53. public MenuOpenType OpenType { get; set; } = MenuOpenType.NONE;
  54. }
  55. }