BookMediaResult.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. using System.Collections.Generic;
  2. using GxPress.Result.Category;
  3. namespace GxPress.Result.Media
  4. {
  5. /// <summary>
  6. /// 媒体
  7. /// </summary>
  8. public class BookMediaResult
  9. {
  10. /// <summary>
  11. ///
  12. /// </summary>
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 媒体类型 文章100 书籍20,课程30,音频40,期刊50,视频60,名栏90,公众号110,刊期120
  16. /// </summary>
  17. public int MediaType { get; set; }
  18. /// <summary>
  19. /// 标题
  20. /// </summary>
  21. public string Title { get; set; }
  22. /// <summary>
  23. /// 标题图片
  24. /// </summary>
  25. public string ImageUrls { get; set; }
  26. /// <summary>
  27. /// 简介
  28. /// </summary>
  29. public string Summary { get; set; }
  30. /// <summary>
  31. /// 作者
  32. /// </summary>
  33. public string Author { get; set; }
  34. /// <summary>
  35. /// 来源
  36. /// </summary>
  37. public string Source { get; set; }
  38. /// <summary>
  39. /// Json内容
  40. /// </summary>
  41. public string Blocks { get; set; }
  42. /// <summary>
  43. /// 添加时间
  44. /// </summary>
  45. public string AddDate { get; set; }
  46. /// <summary>
  47. /// 文章阅读量
  48. /// </summary>
  49. public int ReadCount { get; set; }
  50. /// <summary>
  51. /// 是否推荐 1 设置 2取消
  52. /// </summary>
  53. public int IsRecommend { get; set; }
  54. /// <summary>
  55. /// 出版社
  56. /// </summary>
  57. public string Press { get; set; }
  58. /// <summary>
  59. /// 出版时间
  60. /// </summary>
  61. public string PublishTime { get; set; }
  62. /// <summary>
  63. /// ios折扣价格打折
  64. /// </summary>
  65. public decimal IosDiscountPrice { get; set; }
  66. /// <summary>
  67. /// IOS价格
  68. /// </summary>
  69. public decimal IosPrice { get; set; }
  70. /// <summary>
  71. /// 其他折扣价格打折
  72. /// </summary>
  73. public decimal OtherDiscountPrice { get; set; }
  74. /// <summary>
  75. /// 其他价格
  76. /// </summary>
  77. public decimal OtherPrice { get; set; }
  78. /// <summary>
  79. /// 免费类容占比
  80. /// </summary>
  81. /// <value></value>
  82. public decimal FreeProportion { get; set; }
  83. /// <summary>
  84. /// 收藏次数
  85. /// </summary>
  86. public int CollectCount { get; set; }
  87. /// <summary>
  88. /// 转发数量
  89. /// </summary>
  90. /// <value></value>
  91. public int RetransmissionCount { get; set; }
  92. /// <summary>
  93. /// 评论数量
  94. /// </summary>
  95. /// <value></value>
  96. public int CommentCount { get; set; }
  97. /// <summary>
  98. /// 书籍目录
  99. /// </summary>
  100. /// <value></value>
  101. public List<BookCatalogResult> BookCatalogResults { get; set; }
  102. /// <summary>
  103. /// 评论分数
  104. /// </summary>
  105. /// <value></value>
  106. public decimal CommentScore { get; set; }
  107. /// <summary>
  108. /// 是否购买
  109. /// </summary>
  110. /// <value></value>
  111. public bool IsBuy { get; set; }
  112. }
  113. /// <summary>
  114. /// 返回书籍目录
  115. /// </summary>
  116. public class BookCatalogResult
  117. {
  118. /// <summary>
  119. ///
  120. /// </summary>
  121. /// <value></value>
  122. public int Id { get; set; }
  123. /// <summary>
  124. /// 目录名称
  125. /// </summary>
  126. /// <value></value>
  127. public string CatalogNameg { get; set; }
  128. /// <summary>
  129. /// 目录ID
  130. /// </summary>
  131. /// <value></value>
  132. public string CatalogId { get; set; }
  133. /// <summary>
  134. ///
  135. /// </summary>
  136. /// <value></value>
  137. public int ParentId { get; set; }
  138. }
  139. }