NavigationResult.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. using System.Collections.Generic;
  2. using GxPress.Result.Media;
  3. namespace GxPress.Result.Navigation
  4. {
  5. /// <summary>
  6. /// 导航数据的显示
  7. /// </summary>
  8. public class NavigationMediaResult
  9. {
  10. /// <summary>
  11. /// id
  12. /// </summary>
  13. /// <value></value>
  14. public int Id { get; set; }
  15. /// <summary>
  16. /// 标签名称
  17. /// </summary>
  18. /// <value></value>
  19. public string LabelName { get; set; }
  20. /// <summary>
  21. /// 标签名称描述
  22. /// </summary>
  23. /// <value></value>
  24. public string LabelNameDescribe { get; set; }
  25. /// <summary>
  26. /// 备注
  27. /// </summary>
  28. /// <value></value>
  29. public string Remark { get; set; }
  30. /// <summary>
  31. /// 排序
  32. /// </summary>
  33. /// <value></value>
  34. public int Sort { get; set; }
  35. /// <summary>
  36. /// 是否跳转
  37. /// </summary>
  38. /// <value></value>
  39. public bool IsSkip { get; set; }
  40. /// <summary>
  41. /// 是否分页
  42. /// </summary>
  43. /// <value></value>
  44. public bool IsPage { get; set; }
  45. /// <summary>
  46. /// 路径
  47. /// </summary>
  48. /// <value></value>
  49. public string ControllerUrl { get; set; }
  50. /// <summary>
  51. /// 路径
  52. /// </summary>
  53. /// <value></value>
  54. public string ActionUrl { get; set; }
  55. /// <summary>
  56. /// 资源类型
  57. /// </summary>
  58. /// <value></value>
  59. public int ResourceType { get; set; }
  60. /// <summary>
  61. /// 样式类型
  62. /// </summary>
  63. /// <value></value>
  64. public string StyleType { get; set; }
  65. /// <summary>
  66. /// 媒体
  67. /// </summary>
  68. /// <value></value>
  69. public List<MediaResult> MediaResults { get; set; }
  70. }
  71. /// <summary>
  72. /// 导航数据的显示
  73. /// </summary>
  74. public class NavigationResult
  75. {
  76. /// <summary>
  77. /// id
  78. /// </summary>
  79. /// <value></value>
  80. public int Id { get; set; }
  81. /// <summary>
  82. /// 导航名称
  83. /// </summary>
  84. /// <value></value>
  85. public string Name { get; set; }
  86. /// <summary>
  87. /// 是否禁用
  88. /// </summary>
  89. /// <value></value>
  90. public bool IsDisable { get; set; }
  91. /// <summary>
  92. /// 父级ID
  93. /// </summary>
  94. /// <value></value>
  95. public int ParentId { get; set; }
  96. /// <summary>
  97. /// 排序
  98. /// </summary>
  99. /// <value></value>
  100. public int Sort { get; set; }
  101. /// <summary>
  102. /// 中间件页面ID
  103. /// </summary>
  104. /// <value></value>
  105. public int MiddleLableId { get; set; }
  106. /// <summary>
  107. /// 是否可以操作
  108. /// </summary>
  109. /// <value></value>
  110. public bool Isoperate { get; set; }
  111. /// <summary>
  112. /// 终端 1 pc 2 移动端
  113. /// </summary>
  114. /// <value></value>
  115. public int Terminal { get; set; }
  116. /// <summary>
  117. /// 是否存在子集
  118. /// </summary>
  119. /// <value></value>
  120. public bool IsChildren { get; set; }
  121. /// <summary>
  122. /// 子集
  123. /// </summary>
  124. /// <value></value>
  125. public List<NavigationResult> Children { get; set; }
  126. /// <summary>
  127. /// 路径
  128. /// </summary>
  129. /// <value></value>
  130. public string ControllerUrl { get; set; }
  131. /// <summary>
  132. /// 路径
  133. /// </summary>
  134. /// <value></value>
  135. public string ActionUrl { get; set; }
  136. }
  137. }