MediaResult.cs 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. using System.Collections.Generic;
  2. using GxPress.EnumConst;
  3. using GxPress.Result.Category;
  4. namespace GxPress.Result.Media
  5. {
  6. /// <summary>
  7. /// 导航显示
  8. /// </summary>
  9. public class NavigationMediaResult
  10. {
  11. /// <summary>
  12. ///
  13. /// </summary>
  14. /// <value></value>
  15. public int Id { get; set; }
  16. /// <summary>
  17. /// 编号
  18. /// </summary>
  19. /// <value></value>
  20. public string AutoNumber { get; set; }
  21. /// <summary>
  22. /// 媒体类型
  23. /// </summary>
  24. public int MediaType { get; set; }
  25. /// <summary>
  26. /// 标题
  27. /// </summary>
  28. public string Title { get; set; }
  29. /// <summary>
  30. /// 标题图片
  31. /// </summary>
  32. public string ImageUrls { get; set; }
  33. /// <summary>
  34. /// 简介
  35. /// </summary>
  36. public string Summary { get; set; }
  37. /// <summary>
  38. /// 作者
  39. /// </summary>
  40. public string Author { get; set; }
  41. /// <summary>
  42. /// 名师ID
  43. /// </summary>
  44. /// <value></value>
  45. public int TeacherId { get; set; }
  46. }
  47. /// <summary>
  48. /// 媒体
  49. /// </summary>
  50. public class MediaResult
  51. {
  52. /// <summary>
  53. /// 编号
  54. /// </summary>
  55. /// <value></value>
  56. public string AutoNumber { get; set; }
  57. /// <summary>
  58. ///
  59. /// </summary>
  60. public int Id { get; set; }
  61. /// <summary>
  62. /// 媒体类型
  63. /// Article=1,
  64. //书籍
  65. //Book = 2,
  66. ////课程
  67. //Curriculum = 3,
  68. ////音频
  69. //Audio = 4,
  70. ////期刊
  71. //Journal = 5,
  72. ////视频
  73. //Video=6
  74. /// </summary>
  75. public int MediaType { get; set; }
  76. /// <summary>
  77. /// 标题
  78. /// </summary>
  79. public string Title { get; set; }
  80. /// <summary>
  81. /// 标题图片
  82. /// </summary>
  83. public string ImageUrls { get; set; }
  84. /// <summary>
  85. /// 简介
  86. /// </summary>
  87. public string Summary { get; set; }
  88. /// <summary>
  89. /// 作者
  90. /// </summary>
  91. public string Author { get; set; }
  92. /// <summary>
  93. /// 名师ID
  94. /// </summary>
  95. /// <value></value>
  96. public int TeacherId { get; set; }
  97. /// <summary>
  98. /// 来源
  99. /// </summary>
  100. public string Source { get; set; }
  101. /// <summary>
  102. /// Json内容
  103. /// </summary>
  104. public string Blocks { get; set; }
  105. /// <summary>
  106. /// 审核状态 1 2
  107. /// </summary>
  108. public int IsChecked { get; set; }
  109. /// <summary>
  110. /// 添加时间
  111. /// </summary>
  112. public string AddDate { get; set; }
  113. /// <summary>
  114. /// 排序
  115. /// </summary>
  116. public int Sort { get; set; }
  117. /// <summary>
  118. /// 文章阅读量
  119. /// </summary>
  120. public int ReadCount { get; set; }
  121. /// <summary>
  122. /// 是否置顶 1置顶 2取消
  123. /// </summary>
  124. public int IsTop { get; set; }
  125. /// <summary>
  126. /// 分类ID
  127. /// </summary>
  128. public List<string> CategoryId { get; set; }
  129. /// <summary>
  130. /// 完整分类ID
  131. /// </summary>
  132. public List<string> FullCategoryId { get; set; }
  133. /// <summary>
  134. /// 分类名称
  135. /// </summary>
  136. /// <value></value>
  137. public List<string> CategoryName { get; set; }
  138. /// <summary>
  139. /// 标签ID
  140. /// </summary>
  141. public int LableId { get; set; }
  142. /// <summary>
  143. /// 是否推荐 1 设置 2取消
  144. /// </summary>
  145. public int IsRecommend { get; set; }
  146. /// <summary>
  147. /// 出版社
  148. /// </summary>
  149. public string Press { get; set; }
  150. /// <summary>
  151. /// 出版时间
  152. /// </summary>
  153. public string PublishTime { get; set; }
  154. /// <summary>
  155. /// 媒体类
  156. /// </summary>
  157. public List<MediaLibraryResult> MediaLibraryResults { get; set; }
  158. /// <summary>
  159. /// 媒体标签
  160. /// </summary>
  161. /// <value></value>
  162. public List<MediaLableResult> MediaLableResults { get; set; }
  163. /// <summary>
  164. /// 操作人ID
  165. /// </summary>
  166. /// <value></value>
  167. public int AdminId { get; set; }
  168. /// <summary>
  169. /// 操作人
  170. /// </summary>
  171. /// <value></value>
  172. public string Creator { get; set; }
  173. /// <summary>
  174. /// ios折扣价格打折
  175. /// </summary>
  176. public decimal IosDiscountPrice { get; set; }
  177. /// <summary>
  178. /// IOS价格
  179. /// </summary>
  180. public decimal IosPrice { get; set; }
  181. /// <summary>
  182. /// 其他折扣价格打折
  183. /// </summary>
  184. public decimal OtherDiscountPrice { get; set; }
  185. /// <summary>
  186. /// 其他价格
  187. /// </summary>
  188. public decimal OtherPrice { get; set; }
  189. /// <summary>
  190. /// 免费类容占比
  191. /// </summary>
  192. /// <value></value>
  193. public decimal FreeProportion { get; set; }
  194. /// <summary>
  195. /// 类型 名栏 公众号 期刊
  196. /// </summary>
  197. /// <value></value>
  198. public AttachTypeConst AttachType { get; set; }
  199. /// <summary>
  200. /// 类型 1名栏 2公众号
  201. /// </summary>
  202. /// <value></value>
  203. public int AttachId { get; set; }
  204. /// <summary>
  205. /// 关联的媒体ID
  206. /// </summary>
  207. /// <value></value>
  208. public int MediaId { get; set; }
  209. /// <summary>
  210. /// 关联的媒体标题
  211. /// </summary>
  212. /// <value></value>
  213. public string MediaTitle { get; set; }
  214. /// <summary>
  215. /// 刊期年
  216. /// </summary>
  217. /// <value></value>
  218. public string JournalsYear { get; set; }
  219. /// <summary>
  220. /// 刊期期数
  221. /// </summary>
  222. /// <value></value>
  223. public int JournalsCategory { get; set; }
  224. /// <summary>
  225. /// 所有类别
  226. /// </summary>
  227. /// <value></value>
  228. public List<CategoryResult> CategoryResults { get; set; }
  229. /// <summary>
  230. /// 收藏次数
  231. /// </summary>
  232. public int CollectCount { get; set; }
  233. /// <summary>
  234. /// 转发数量
  235. /// </summary>
  236. /// <value></value>
  237. public int RetransmissionCount { get; set; }
  238. /// <summary>
  239. /// 评论数量
  240. /// </summary>
  241. /// <value></value>
  242. public int CommentCount { get; set; }
  243. /// <summary>
  244. /// 销售总金额
  245. /// </summary>
  246. /// <value></value>
  247. public decimal SellAmount { get; set; }
  248. /// <summary>
  249. /// 订单数量
  250. /// </summary>
  251. /// <value></value>
  252. public int OrderCount { get; set; }
  253. /// <summary>
  254. /// 书籍目录
  255. /// </summary>
  256. /// <value></value>
  257. public List<BookCatalogResult> BookCatalogResults { get; set; }
  258. }
  259. /// <summary>
  260. /// 书籍目录
  261. /// </summary>
  262. public class MediaLibraryResult
  263. {
  264. /// <summary>
  265. ///
  266. /// </summary>
  267. /// <value></value>
  268. public int Id { get; set; }
  269. /// <summary>
  270. /// 媒体ID
  271. /// </summary>
  272. /// <value></value>
  273. public int MediaId { get; set; }
  274. /// <summary>
  275. /// 文件路径
  276. /// </summary>
  277. public string FileUrl { get; set; }
  278. /// <summary>
  279. /// 文件名称
  280. /// </summary>
  281. public string Name { get; set; }
  282. /// <summary>
  283. /// 排序
  284. /// </summary>
  285. public int Sort { get; set; }
  286. /// <summary>
  287. /// 章节名称
  288. /// </summary>
  289. /// <value></value>
  290. public string SectionName { get; set; }
  291. /// <summary>
  292. /// 类型 1 file 2 audio
  293. /// </summary>
  294. /// <value></value>
  295. public int TypeId { get; set; }
  296. /// <summary>
  297. /// 章节Id
  298. /// </summary>
  299. /// <value></value>
  300. public string SectionId { get; set; }
  301. }
  302. /// <summary>
  303. /// 媒体标签
  304. /// </summary>
  305. public class MediaLableResult
  306. {
  307. /// <summary>
  308. /// 媒体ID
  309. /// </summary>
  310. /// <value></value>
  311. public int MediaId { get; set; }
  312. /// <summary>
  313. /// 标签ID
  314. /// </summary>
  315. public int LableId { get; set; }
  316. /// <summary>
  317. /// 标签名称
  318. /// </summary>
  319. public string LableName { get; set; }
  320. }
  321. }