MediaResult.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. using System;
  2. using System.Collections.Generic;
  3. namespace GxPress.Result.Media
  4. {
  5. public class MediaResult
  6. {
  7. /// <summary>
  8. ///
  9. /// </summary>
  10. public int Id { get; set; }
  11. /// <summary>
  12. /// 媒体类型
  13. /// Article=1,
  14. //书籍
  15. //Book = 2,
  16. ////课程
  17. //Curriculum = 3,
  18. ////音频
  19. //Audio = 4,
  20. ////期刊
  21. //Journal = 5,
  22. ////视频
  23. //Video=6
  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. public string Source { get; set; }
  51. /// <summary>
  52. /// Json内容
  53. /// </summary>
  54. public string Blocks { get; set; }
  55. /// <summary>
  56. /// 审核状态
  57. /// </summary>
  58. public bool IsChecked { get; set; }
  59. /// <summary>
  60. /// 添加时间
  61. /// </summary>
  62. public DateTime AddDate { get; set; }
  63. /// <summary>
  64. /// 排序
  65. /// </summary>
  66. public int Sort { get; set; }
  67. /// <summary>
  68. /// 文章阅读量
  69. /// </summary>
  70. public int ReadCount { get; set; }
  71. /// <summary>
  72. /// 是否置顶
  73. /// </summary>
  74. public bool IsTop { get; set; }
  75. /// <summary>
  76. /// 分类ID
  77. /// </summary>
  78. public int CategoryId { get; set; }
  79. /// <summary>
  80. /// 标签ID
  81. /// </summary>
  82. public int LableId { get; set; }
  83. /// <summary>
  84. /// 是否推荐
  85. /// </summary>
  86. public bool IsRecommend { get; set; }
  87. /// <summary>
  88. /// 出版社
  89. /// </summary>
  90. public string Press { get; set; }
  91. /// <summary>
  92. /// 出版时间
  93. /// </summary>
  94. public string PublishTime { get; set; }
  95. /// <summary>
  96. /// 媒体类
  97. /// </summary>
  98. public List<MediaLibraryResult> MediaLibraryResults { get; set; }
  99. /// <summary>
  100. /// 媒体标签
  101. /// </summary>
  102. /// <value></value>
  103. public List<MediaLableResult> MediaLableResults { get; set; }
  104. /// <summary>
  105. /// 操作人ID
  106. /// </summary>
  107. /// <value></value>
  108. public int AdminId { get; set; }
  109. /// <summary>
  110. /// 操作人
  111. /// </summary>
  112. /// <value></value>
  113. public string Creator { get; set; }
  114. }
  115. /// <summary>
  116. ///
  117. /// </summary>
  118. public class MediaLibraryResult
  119. {
  120. /// <summary>
  121. /// 媒体ID
  122. /// </summary>
  123. /// <value></value>
  124. public int MediaId { get; set; }
  125. /// <summary>
  126. /// 文件路径
  127. /// </summary>
  128. public string FileUrl { get; set; }
  129. /// <summary>
  130. /// 文件名称
  131. /// </summary>
  132. public string Name { get; set; }
  133. /// <summary>
  134. /// 排序
  135. /// </summary>
  136. public int Sort { get; set; }
  137. }
  138. /// <summary>
  139. /// 媒体标签
  140. /// </summary>
  141. public class MediaLableResult
  142. {
  143. /// <summary>
  144. /// 媒体ID
  145. /// </summary>
  146. /// <value></value>
  147. public int MediaId { get; set; }
  148. /// <summary>
  149. /// 标签ID
  150. /// </summary>
  151. public string LableId { get; set; }
  152. /// <summary>
  153. /// 标签名称
  154. /// </summary>
  155. public string LableName { get; set; }
  156. }
  157. }