MediaResult.cs 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.EnumConst;
  4. using GxPress.Result.Category;
  5. namespace GxPress.Result.Media
  6. {
  7. /// <summary>
  8. /// 导航显示
  9. /// </summary>
  10. public class NavigationMediaResult
  11. {
  12. /// <summary>
  13. ///
  14. /// </summary>
  15. /// <value></value>
  16. public int Id { get; set; }
  17. /// <summary>
  18. /// 编号
  19. /// </summary>
  20. /// <value></value>
  21. public string AutoNumber { get; set; }
  22. /// <summary>
  23. /// 媒体类型
  24. /// </summary>
  25. public int MediaType { get; set; }
  26. /// <summary>
  27. /// 标题
  28. /// </summary>
  29. public string Title { get; set; }
  30. /// <summary>
  31. /// 标题图片
  32. /// </summary>
  33. public string ImageUrls { get; set; }
  34. /// <summary>
  35. /// 简介
  36. /// </summary>
  37. public string Summary { get; set; }
  38. /// <summary>
  39. /// 作者
  40. /// </summary>
  41. public string Author { get; set; }
  42. /// <summary>
  43. /// 名师ID
  44. /// </summary>
  45. /// <value></value>
  46. public int TeacherId { get; set; }
  47. /// <summary>
  48. /// 阅读量
  49. /// </summary>
  50. /// <value></value>
  51. public int ReadCount { get; set; }
  52. /// <summary>
  53. /// 创建时间
  54. /// </summary>
  55. /// <value></value>
  56. public DateTime? CreatedDate { get; set; }
  57. /// <summary>
  58. /// 收藏数量
  59. /// </summary>
  60. /// <value></value>
  61. public int CollectCount { get; set; }
  62. }
  63. /// <summary>
  64. /// 排行榜
  65. /// </summary>
  66. public class RankingListResult
  67. {
  68. /// <summary>
  69. ///
  70. /// </summary>
  71. /// <value></value>
  72. public int Id { get; set; }
  73. /// <summary>
  74. /// 编号
  75. /// </summary>
  76. /// <value></value>
  77. public string AutoNumber { get; set; }
  78. /// <summary>
  79. /// 媒体类型
  80. /// </summary>
  81. public int MediaType { get; set; }
  82. /// <summary>
  83. /// 标题
  84. /// </summary>
  85. public string Title { get; set; }
  86. /// <summary>
  87. /// 标题图片
  88. /// </summary>
  89. public string ImageUrls { get; set; }
  90. /// <summary>
  91. /// 简介
  92. /// </summary>
  93. public string Summary { get; set; }
  94. /// <summary>
  95. /// 作者
  96. /// </summary>
  97. public string Author { get; set; }
  98. /// <summary>
  99. /// 名师ID
  100. /// </summary>
  101. /// <value></value>
  102. public int TeacherId { get; set; }
  103. /// <summary>
  104. /// 评分
  105. /// </summary>
  106. public decimal CommentScore { get; set; }
  107. /// <summary>
  108. /// 阅读量
  109. /// </summary>
  110. /// <value></value>
  111. public int ReadCount { get; set; }
  112. /// <summary>
  113. /// 创建时间
  114. /// </summary>
  115. /// <value></value>
  116. public DateTime? CreatedDate { get; set; }
  117. /// <summary>
  118. /// 时长
  119. /// </summary>
  120. /// <value></value>
  121. public string Duration { get; set; }
  122. }
  123. public class RankingListCategoryResult
  124. {
  125. public IEnumerable<RankingListResult> RankingListResults { get; set; }
  126. public Dictionary<int, string> Category { get; set; }
  127. }
  128. /// <summary>
  129. /// 媒体
  130. /// </summary>
  131. public class MediaResult
  132. {
  133. /// <summary>
  134. /// 编号
  135. /// </summary>
  136. /// <value></value>
  137. public string AutoNumber { get; set; }
  138. /// <summary>
  139. ///
  140. /// </summary>
  141. public int Id { get; set; }
  142. /// <summary>
  143. /// 媒体类型
  144. /// Article=1,
  145. //书籍
  146. //Book = 2,
  147. ////课程
  148. //Curriculum = 3,
  149. ////音频
  150. //Audio = 4,
  151. ////期刊
  152. //Journal = 5,
  153. ////视频
  154. //Video=6
  155. /// </summary>
  156. public int MediaType { get; set; }
  157. /// <summary>
  158. /// 标题
  159. /// </summary>
  160. public string Title { get; set; }
  161. /// <summary>
  162. /// 标题图片
  163. /// </summary>
  164. public string ImageUrls { get; set; }
  165. /// <summary>
  166. /// 简介
  167. /// </summary>
  168. public string Summary { get; set; }
  169. /// <summary>
  170. /// 作者
  171. /// </summary>
  172. public string Author { get; set; }
  173. /// <summary>
  174. /// 名师ID
  175. /// </summary>
  176. /// <value></value>
  177. public int TeacherId { get; set; }
  178. /// <summary>
  179. /// 来源
  180. /// </summary>
  181. public string Source { get; set; }
  182. /// <summary>
  183. /// Json内容
  184. /// </summary>
  185. public string Blocks { get; set; }
  186. /// <summary>
  187. /// 审核状态 1 2
  188. /// </summary>
  189. public int IsChecked { get; set; }
  190. /// <summary>
  191. /// 添加时间
  192. /// </summary>
  193. public string AddDate { get; set; }
  194. /// <summary>
  195. /// 排序
  196. /// </summary>
  197. public int Sort { get; set; }
  198. /// <summary>
  199. /// 文章阅读量
  200. /// </summary>
  201. public int ReadCount { get; set; }
  202. /// <summary>
  203. /// 是否置顶 1置顶 2取消
  204. /// </summary>
  205. public int IsTop { get; set; }
  206. /// <summary>
  207. /// 分类ID
  208. /// </summary>
  209. public List<string> CategoryId { get; set; }
  210. /// <summary>
  211. /// app内容导航
  212. /// </summary>
  213. /// <value></value>
  214. public int AppCategoryId { get; set; }
  215. /// <summary>
  216. /// 完整分类ID
  217. /// </summary>
  218. public List<string> FullCategoryId { get; set; }
  219. /// <summary>
  220. /// 分类名称
  221. /// </summary>
  222. /// <value></value>
  223. public List<string> CategoryName { get; set; }
  224. /// <summary>
  225. /// 标签ID
  226. /// </summary>
  227. public int LableId { get; set; }
  228. /// <summary>
  229. /// 是否推荐 1 设置 2取消
  230. /// </summary>
  231. public int IsRecommend { get; set; }
  232. /// <summary>
  233. /// 出版社
  234. /// </summary>
  235. public string Press { get; set; }
  236. /// <summary>
  237. /// 出版时间
  238. /// </summary>
  239. public string PublishTime { get; set; }
  240. /// <summary>
  241. /// 媒体类
  242. /// </summary>
  243. public List<MediaLibraryResult> MediaLibraryResults { get; set; }
  244. /// <summary>
  245. /// 媒体标签
  246. /// </summary>
  247. /// <value></value>
  248. public List<MediaLableResult> MediaLableResults { get; set; }
  249. /// <summary>
  250. /// 操作人ID
  251. /// </summary>
  252. /// <value></value>
  253. public int AdminId { get; set; }
  254. /// <summary>
  255. /// 操作人
  256. /// </summary>
  257. /// <value></value>
  258. public string Creator { get; set; }
  259. /// <summary>
  260. /// ios折扣价格打折
  261. /// </summary>
  262. public decimal IosDiscountPrice { get; set; }
  263. /// <summary>
  264. /// IOS价格
  265. /// </summary>
  266. public decimal IosPrice { get; set; }
  267. /// <summary>
  268. /// 其他折扣价格打折
  269. /// </summary>
  270. public decimal OtherDiscountPrice { get; set; }
  271. /// <summary>
  272. /// 其他价格
  273. /// </summary>
  274. public decimal OtherPrice { get; set; }
  275. /// <summary>
  276. /// 免费类容占比
  277. /// </summary>
  278. /// <value></value>
  279. public decimal FreeProportion { get; set; }
  280. /// <summary>
  281. /// 类型 名栏 公众号 期刊
  282. /// </summary>
  283. /// <value></value>
  284. public AttachTypeConst AttachType { get; set; }
  285. /// <summary>
  286. /// 类型 1名栏 2公众号
  287. /// </summary>
  288. /// <value></value>
  289. public int AttachId { get; set; }
  290. /// <summary>
  291. /// 关联的媒体ID
  292. /// </summary>
  293. /// <value></value>
  294. public int MediaId { get; set; }
  295. /// <summary>
  296. /// 关联的媒体标题
  297. /// </summary>
  298. /// <value></value>
  299. public string MediaTitle { get; set; }
  300. /// <summary>
  301. /// 刊期年
  302. /// </summary>
  303. /// <value></value>
  304. public string JournalsYear { get; set; }
  305. /// <summary>
  306. /// 刊期期数
  307. /// </summary>
  308. /// <value></value>
  309. public int JournalsCategory { get; set; }
  310. /// <summary>
  311. /// 所有类别
  312. /// </summary>
  313. /// <value></value>
  314. public List<CategoryResult> CategoryResults { get; set; }
  315. /// <summary>
  316. /// 收藏次数
  317. /// </summary>
  318. public int CollectCount { get; set; }
  319. /// <summary>
  320. /// 转发数量
  321. /// </summary>
  322. /// <value></value>
  323. public int RetransmissionCount { get; set; }
  324. /// <summary>
  325. /// 评论数量
  326. /// </summary>
  327. /// <value></value>
  328. public int CommentCount { get; set; }
  329. /// <summary>
  330. /// 销售总金额
  331. /// </summary>
  332. /// <value></value>
  333. public decimal SellAmount { get; set; }
  334. /// <summary>
  335. /// 订单数量
  336. /// </summary>
  337. /// <value></value>
  338. public int OrderCount { get; set; }
  339. /// <summary>
  340. /// 书籍目录
  341. /// </summary>
  342. /// <value></value>
  343. public List<BookCatalogResult> BookCatalogResults { get; set; }
  344. /// <summary>
  345. /// 是否习题 1 是 2否
  346. /// </summary>
  347. /// <value></value>
  348. public int IsExercises { get; set; }
  349. }
  350. /// <summary>
  351. /// 书籍目录
  352. /// </summary>
  353. public class MediaLibraryResult
  354. {
  355. /// <summary>
  356. ///
  357. /// </summary>
  358. /// <value></value>
  359. public int Id { get; set; }
  360. /// <summary>
  361. /// 媒体ID
  362. /// </summary>
  363. /// <value></value>
  364. public int MediaId { get; set; }
  365. /// <summary>
  366. /// 文件路径
  367. /// </summary>
  368. public string FileUrl { get; set; }
  369. /// <summary>
  370. /// 文件名称
  371. /// </summary>
  372. public string Name { get; set; }
  373. /// <summary>
  374. /// 排序
  375. /// </summary>
  376. public int Sort { get; set; }
  377. /// <summary>
  378. /// 章节名称
  379. /// </summary>
  380. /// <value></value>
  381. public string SectionName { get; set; }
  382. /// <summary>
  383. /// 类型 1 file 2 audio
  384. /// </summary>
  385. /// <value></value>
  386. public int TypeId { get; set; }
  387. /// <summary>
  388. /// 章节Id
  389. /// </summary>
  390. /// <value></value>
  391. public string SectionId { get; set; }
  392. }
  393. /// <summary>
  394. /// 媒体标签
  395. /// </summary>
  396. public class MediaLableResult
  397. {
  398. /// <summary>
  399. /// 媒体ID
  400. /// </summary>
  401. /// <value></value>
  402. public int MediaId { get; set; }
  403. /// <summary>
  404. /// 标签ID
  405. /// </summary>
  406. public int LableId { get; set; }
  407. /// <summary>
  408. /// 标签名称
  409. /// </summary>
  410. public string LableName { get; set; }
  411. }
  412. /// <summary>
  413. /// 笔记显示摘录
  414. /// </summary>
  415. public class MediaNoteResult
  416. {
  417. /// <summary>
  418. ///
  419. /// </summary>
  420. /// <value></value>
  421. public int Id { get; set; }
  422. /// <summary>
  423. /// 标题
  424. /// </summary>
  425. public string Title { get; set; }
  426. /// <summary>
  427. /// 标题图片
  428. /// </summary>
  429. public string ImageUrls { get; set; }
  430. /// <summary>
  431. /// 作者
  432. /// </summary>
  433. public string Author { get; set; }
  434. }
  435. /// <summary>
  436. /// 大咖讲座
  437. /// </summary>
  438. public class MediaCathedraResult
  439. {
  440. /// <summary>
  441. /// 简介
  442. /// </summary>
  443. public string Summary { get; set; }
  444. /// <summary>
  445. ///
  446. /// </summary>
  447. /// <value></value>
  448. public int Id { get; set; }
  449. /// <summary>
  450. /// 标题
  451. /// </summary>
  452. public string Title { get; set; }
  453. /// <summary>
  454. /// 标题图片
  455. /// </summary>
  456. public string ImageUrls { get; set; }
  457. /// <summary>
  458. /// 出版社
  459. /// </summary>
  460. /// <value></value>
  461. public string Press { get; set; }
  462. /// <summary>
  463. /// 作者
  464. /// </summary>
  465. public string Author { get; set; }
  466. /// <summary>
  467. /// 阅读量
  468. /// </summary>
  469. /// <value></value>
  470. public int ReadCount { get; set; }
  471. /// <summary>
  472. /// 创建时间
  473. /// </summary>
  474. /// <value></value>
  475. public DateTime? CreatedDate { get; set; }
  476. /// <summary>
  477. /// 时长
  478. /// </summary>
  479. /// <value></value>
  480. public string Duration { get; set; }
  481. /// <summary>
  482. /// 收藏数量
  483. /// </summary>
  484. /// <value></value>
  485. public int CollectCount { get; set; }
  486. /// <summary>
  487. /// 媒体类型
  488. /// </summary>
  489. public int MediaType { get; set; }
  490. }
  491. /// <summary>
  492. /// 每日技能
  493. /// </summary>
  494. public class SkillInfo
  495. {
  496. public int Id { get; set; }
  497. /// <summary>
  498. /// Json内容
  499. /// </summary>
  500. public string Blocks { get; set; }
  501. /// <summary>
  502. /// 类型
  503. /// </summary>
  504. /// <value></value>
  505. public int MediaType { get; set; }
  506. }
  507. /// <summary>
  508. /// 榜单
  509. /// </summary>
  510. public class MediaRankingResult
  511. {
  512. /// <summary>
  513. ///
  514. /// </summary>
  515. /// <value></value>
  516. public string Name { get; set; }
  517. /// <summary>
  518. ///
  519. /// </summary>
  520. /// <value></value>
  521. public int MediaType { get; set; }
  522. /// <summary>
  523. ///
  524. /// </summary>
  525. /// <value></value>
  526. public IEnumerable<RankingListResult> Items { get; set; }
  527. }
  528. /// <summary>
  529. /// 明栏
  530. /// </summary>
  531. public class MediaStarLableResult
  532. {
  533. /// <summary>
  534. /// 名栏目ID
  535. /// </summary>
  536. /// <value></value>
  537. public int Id { get; set; }
  538. /// <summary>
  539. /// 明栏名称
  540. /// </summary>
  541. /// <value></value>
  542. public string Name { get; set; }
  543. /// <summary>
  544. /// 明栏数据
  545. /// </summary>
  546. /// <value></value>
  547. public IEnumerable<MediaCathedraResult> Item { get; set; }
  548. }
  549. }