AppChannelResult.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. using System;
  2. using System.Collections.Generic;
  3. namespace GxPress.Result.AppChannel
  4. {
  5. /// <summary>
  6. /// 频道
  7. /// </summary>
  8. public class AppChannelModelResult
  9. {
  10. /// <summary>
  11. /// 频道类型 公众号 视频 期刊杂志 图书
  12. /// </summary>
  13. /// <value></value>
  14. public GxPress.EnumConst.AppChannelConst Id { get; set; }
  15. /// <summary>
  16. /// 频道名称
  17. /// </summary>
  18. /// <value></value>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// 频道集合
  22. /// </summary>
  23. /// <value></value>
  24. public IEnumerable<AppChannelResult> Items { get; set; }
  25. }
  26. /// <summary>
  27. /// app导航
  28. /// </summary>
  29. public class AppChannelResult
  30. {
  31. /// <summary>
  32. /// id
  33. /// </summary>
  34. /// <value></value>
  35. public int Id { get; set; }
  36. /// <summary>
  37. /// 标题图片
  38. /// </summary>
  39. public string ImageUrls { get; set; }
  40. /// <summary>
  41. /// 名称
  42. /// </summary>
  43. /// <value></value>
  44. public string Name { get; set; }
  45. /// <summary>
  46. /// 类型 公众号 视频 期刊杂志 图书
  47. /// </summary>
  48. /// <value></value>
  49. public GxPress.EnumConst.AppChannelConst ChannelTypeValue { get; set; }
  50. /// <summary>
  51. /// 排序
  52. /// </summary>
  53. public int Sort { get; set; }
  54. /// <summary>
  55. /// 1 普通 2 没有导航 3 sku
  56. /// </summary>
  57. /// <value></value>
  58. public int TypeValue { get; set; }
  59. /// <summary>
  60. /// 媒体集合
  61. /// </summary>
  62. /// <value></value>
  63. public IEnumerable<int> MediaIds { get; set; }
  64. }
  65. /// <summary>
  66. /// 导航类别
  67. /// </summary>
  68. public class ChannelCategoryResult
  69. {
  70. /// <summary>
  71. /// id
  72. /// </summary>
  73. /// <value></value>
  74. public int Id { get; set; }
  75. /// <summary>
  76. /// 名称
  77. /// </summary>
  78. /// <value></value>
  79. public string Name { get; set; }
  80. /// <summary>
  81. /// 扩展名称
  82. /// </summary>
  83. /// <value></value>
  84. public string ExpandName { get; set; }
  85. /// <summary>
  86. /// 父级ID
  87. /// </summary>
  88. /// <value></value>
  89. public int ParentId { get; set; }
  90. /// <summary>
  91. /// 是否存在子集
  92. /// </summary>
  93. /// <value></value>
  94. public bool IsChildren { get; set; }
  95. /// <summary>
  96. /// 子集
  97. /// </summary>
  98. /// <value></value>
  99. public IEnumerable<ChannelCategoryResult> Children { get; set; }
  100. /// <summary>
  101. /// 媒体集合
  102. /// </summary>
  103. /// <value></value>
  104. public IEnumerable<int> MediaIds { get; set; }
  105. /// <summary>
  106. /// 是否分类
  107. /// </summary>
  108. /// <value></value>
  109. public bool IsCategory { get; set; }
  110. }
  111. /// <summary>
  112. /// 大咖讲座
  113. /// </summary>
  114. public class MediaChannelCategoryResult
  115. {
  116. /// <summary>
  117. /// 评分
  118. /// </summary>
  119. /// <value></value>
  120. public decimal CommentScore { get; set; }
  121. public bool IsCategory { get; set; }
  122. /// <summary>
  123. /// 简介
  124. /// </summary>
  125. public string Summary { get; set; }
  126. /// <summary>
  127. ///
  128. /// </summary>
  129. /// <value></value>
  130. public int Id { get; set; }
  131. /// <summary>
  132. /// 标题
  133. /// </summary>
  134. public string Title { get; set; }
  135. /// <summary>
  136. /// 标题图片
  137. /// </summary>
  138. public string ImageUrls { get; set; }
  139. /// <summary>
  140. /// 出版社
  141. /// </summary>
  142. /// <value></value>
  143. public string Press { get; set; }
  144. /// <summary>
  145. /// 作者
  146. /// </summary>
  147. public string Author { get; set; }
  148. /// <summary>
  149. /// 阅读量
  150. /// </summary>
  151. /// <value></value>
  152. public int ReadCount { get; set; }
  153. /// <summary>
  154. /// 创建时间
  155. /// </summary>
  156. /// <value></value>
  157. public DateTime? CreatedDate { get; set; }
  158. /// <summary>
  159. /// 时长
  160. /// </summary>
  161. /// <value></value>
  162. public string Duration { get; set; }
  163. /// <summary>
  164. /// 收藏数量
  165. /// </summary>
  166. /// <value></value>
  167. public int CollectCount { get; set; }
  168. /// <summary>
  169. /// 媒体类型
  170. /// </summary>
  171. public int MediaType { get; set; }
  172. /// <summary>
  173. /// 名称
  174. /// </summary>
  175. /// <value></value>
  176. public string Name { get; set; }
  177. /// <summary>
  178. /// 扩展名称
  179. /// </summary>
  180. /// <value></value>
  181. public string ExpandName { get; set; }
  182. }
  183. /// <summary>
  184. /// 书籍SKU
  185. /// </summary>
  186. public class SkuResult
  187. {
  188. public IEnumerable<SortSift> SortSift { get; set; }
  189. public IEnumerable<PressSift> PressSift { get; set; }
  190. }
  191. /// <summary>
  192. /// 排序条件筛选
  193. /// </summary>
  194. public class SortSift
  195. {
  196. /// <summary>
  197. ///
  198. /// </summary>
  199. /// <value></value>
  200. public int Key { get; set; }
  201. /// <summary>
  202. ///
  203. /// </summary>
  204. /// <value></value>
  205. public string Value { get; set; }
  206. }
  207. /// <summary>
  208. /// 条件筛选出版社
  209. /// </summary>
  210. public class PressSift
  211. {
  212. /// <summary>
  213. ///
  214. /// </summary>
  215. /// <value></value>
  216. public int Key { get; set; }
  217. /// <summary>
  218. ///
  219. /// </summary>
  220. /// <value></value>
  221. public string Value { get; set; }
  222. }
  223. }