NavigationResult.cs 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. using System.Collections.Generic;
  2. using GxPress.Result.Media;
  3. namespace GxPress.Result.Navigation
  4. {
  5. /// <summary>
  6. /// 导航数据的显示
  7. /// </summary>
  8. public class NavigationLabelMediaResult
  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<NavigationMediaResult> MediaResults { get; set; }
  70. /// <summary>
  71. /// 特殊 130,示范课堂140,品牌专区1(150),品牌专区2(160)
  72. /// </summary>
  73. /// <value></value>
  74. public IEnumerable<Entity.SystemLabel.SpecialLabel> SpecialLabelResults { get; set; }
  75. /// <summary>
  76. /// 是否特殊
  77. /// </summary>
  78. /// <value></value>
  79. public bool IsSpecial { get; set; }
  80. /// <summary>
  81. /// 是否显示标签名称
  82. /// </summary>
  83. /// <value></value>
  84. public bool IsShowLabelName { get; set; }
  85. }
  86. /// <summary>
  87. /// 中间页面
  88. /// </summary>
  89. public class MiddleLableResult
  90. {
  91. /// <summary>
  92. /// 导航栏ID
  93. /// </summary>
  94. /// <value></value>
  95. public string Name { get; set; }
  96. /// <summary>
  97. /// 标签ID
  98. /// </summary>
  99. /// <value></value>
  100. public string LabelId { get; set; }
  101. /// <summary>
  102. /// 排序
  103. /// </summary>
  104. /// <value></value>
  105. public int Sort { get; set; }
  106. /// <summary>
  107. /// 是否禁用
  108. /// </summary>
  109. /// <value></value>
  110. public bool IsDisable { get; set; }
  111. /// <summary>
  112. /// 是否开启搜索
  113. /// </summary>
  114. /// <value></value>
  115. public bool IsSearch { get; set; }
  116. /// <summary>
  117. /// 是否开启轮播
  118. /// </summary>
  119. /// <value></value>
  120. public bool IsSlide { get; set; }
  121. /// <summary>
  122. /// 1 APP 2 首页频道 3首页精选
  123. /// </summary>
  124. /// <value></value>
  125. public int TypeId { get; set; }
  126. /// <summary>
  127. /// 导航数据的显示
  128. /// </summary>
  129. /// <value></value>
  130. public List<NavigationLabelMediaResult> NavigationLabelMediaResults { get; set; }
  131. /// <summary>
  132. /// 获取轮播
  133. /// </summary>
  134. /// <value></value>
  135. public IEnumerable<Entity.Slide> Sildes { get; set; }
  136. }
  137. /// <summary>
  138. /// 导航数据的显示
  139. /// </summary>
  140. public class NavigationResult
  141. {
  142. /// <summary>
  143. /// id
  144. /// </summary>
  145. /// <value></value>
  146. public int Id { get; set; }
  147. /// <summary>
  148. /// 导航名称
  149. /// </summary>
  150. /// <value></value>
  151. public string Name { get; set; }
  152. /// <summary>
  153. /// 是否禁用
  154. /// </summary>
  155. /// <value></value>
  156. public bool IsDisable { get; set; }
  157. /// <summary>
  158. /// 父级ID
  159. /// </summary>
  160. /// <value></value>
  161. public int ParentId { get; set; }
  162. /// <summary>
  163. /// 排序
  164. /// </summary>
  165. /// <value></value>
  166. public int Sort { get; set; }
  167. /// <summary>
  168. /// 中间件页面ID
  169. /// </summary>
  170. /// <value></value>
  171. public int MiddleLableId { get; set; }
  172. /// <summary>
  173. /// 是否可以操作
  174. /// </summary>
  175. /// <value></value>
  176. public bool Isoperate { get; set; }
  177. /// <summary>
  178. /// 终端 1 pc 2 移动端
  179. /// </summary>
  180. /// <value></value>
  181. public int Terminal { get; set; }
  182. /// <summary>
  183. /// 是否存在子集
  184. /// </summary>
  185. /// <value></value>
  186. public bool IsChildren { get; set; }
  187. /// <summary>
  188. /// 子集
  189. /// </summary>
  190. /// <value></value>
  191. public List<NavigationResult> Children { get; set; }
  192. /// <summary>
  193. /// 路径
  194. /// </summary>
  195. /// <value></value>
  196. public string ControllerUrl { get; set; }
  197. /// <summary>
  198. /// 路径
  199. /// </summary>
  200. /// <value></value>
  201. public string ActionUrl { get; set; }
  202. }
  203. /// <summary>
  204. /// 标签查询数据
  205. /// </summary>
  206. public class LabelMediaResult
  207. {
  208. /// <summary>
  209. /// 标签查询数据
  210. /// </summary>
  211. /// <value></value>
  212. public IEnumerable<NavigationMediaResult> LabelMediaResults { get; set; }
  213. /// <summary>
  214. /// 猜你喜欢
  215. /// </summary>
  216. /// <value></value>
  217. public IEnumerable<NavigationMediaResult> LikeMediaResults { get; set; }
  218. /// <summary>
  219. /// 推荐
  220. /// </summary>
  221. /// <value></value>
  222. public IEnumerable<NavigationMediaResult> RecommendMediaResults { get; set; }
  223. }
  224. }