NoteResult.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. using System.Collections.Generic;
  2. using GxPress.Result.Media;
  3. namespace GxPress.Result.App.Note
  4. {
  5. /// <summary>
  6. /// 话题笔记显示web版本
  7. /// </summary>
  8. public class NoteTopicResult
  9. {
  10. /// <summary>
  11. /// 笔记id
  12. /// </summary>
  13. /// <value></value>
  14. public int Id { get; set; }
  15. /// <summary>
  16. /// 标题
  17. /// </summary>
  18. /// <value></value>
  19. public string Title { get; set; }
  20. /// <summary>
  21. /// 内容
  22. /// </summary>
  23. /// <value></value>
  24. public string Content { get; set; }
  25. /// <summary>
  26. /// 内容
  27. /// </summary>
  28. /// <value></value>
  29. public string HtmlContent { get; set; }
  30. /// <summary>
  31. /// 创建时间
  32. /// </summary>
  33. /// <value></value>
  34. public string CreatedDate { get; set; }
  35. /// <summary>
  36. /// 用户姓名
  37. /// </summary>
  38. /// <value></value>
  39. public string UserName { get; set; }
  40. /// <summary>
  41. /// 用户Id
  42. /// </summary>
  43. /// <value></value>
  44. public string UserId { get; set; }
  45. /// <summary>
  46. /// 头像
  47. /// </summary>
  48. /// <value></value>
  49. public string AvatarUrl { get; set; }
  50. /// <summary>
  51. /// 文件夹ID
  52. /// </summary>
  53. /// <value></value>
  54. public int FolderId { get; set; }
  55. /// <summary>
  56. /// 文件夹名称
  57. /// </summary>
  58. /// <value></value>
  59. public string FolderName { get; set; }
  60. /// <summary>
  61. /// 点赞数量
  62. /// </summary>
  63. /// <value></value>
  64. public int PraiseCount { get; set; }
  65. /// <summary>
  66. /// 是否点赞
  67. /// </summary>
  68. /// <value></value>
  69. public bool IsPraise { get; set; }
  70. /// <summary>
  71. /// 评论数量
  72. /// </summary>
  73. /// <value></value>
  74. public int CommentCount { get; set; }
  75. /// <summary>
  76. /// 转发数量
  77. /// </summary>
  78. /// <value></value>
  79. public int RetransmissionCount { get; set; }
  80. /// <summary>
  81. /// 是否转发
  82. /// </summary>
  83. /// <value></value>
  84. public bool IsRetransmission { get; set; }
  85. /// <summary>
  86. /// 是否收藏
  87. /// </summary>
  88. /// <value></value>
  89. public bool IsCollect { get; set; }
  90. }
  91. /// <summary>
  92. /// 笔记分页没有文件夹
  93. /// </summary>
  94. public class NoteNotFolderPageResult
  95. {
  96. /// <summary>
  97. /// 笔记id
  98. /// </summary>
  99. /// <value></value>
  100. public int Id { get; set; }
  101. /// <summary>
  102. ///
  103. /// </summary>
  104. /// <value></value>
  105. public int MiddleId { get; set; }
  106. /// <summary>
  107. /// 标题
  108. /// </summary>
  109. /// <value></value>
  110. public string Title { get; set; }
  111. /// <summary>
  112. /// 媒体ID 获取摘录
  113. /// </summary>
  114. /// <value></value>
  115. public int MediaId { get; set; }
  116. /// <summary>
  117. /// 数据类型 1 没有 2 图 3 文件
  118. /// </summary>
  119. public int DataType { get; set; }
  120. /// <summary>
  121. /// 文件数量
  122. /// </summary>
  123. /// <value></value>
  124. public int FileCount { get; set; }
  125. /// <summary>
  126. /// 数据
  127. /// </summary>
  128. public List<ContentJsonData> Data { get; set; }
  129. /// <summary>
  130. /// 是否摘录
  131. /// </summary>
  132. /// <value></value>
  133. public bool IsExtract { get; set; }
  134. /// <summary>
  135. /// 笔记摘录
  136. /// </summary>
  137. /// <value></value>
  138. public MediaNoteResult MediaNoteResult { get; set; }
  139. /// <summary>
  140. /// 内容
  141. /// </summary>
  142. /// <value></value>
  143. public string Content { get; set; }
  144. /// <summary>
  145. /// 创建时间
  146. /// </summary>
  147. /// <value></value>
  148. public string CreatedDate { get; set; }
  149. /// <summary>
  150. /// 用户姓名
  151. /// </summary>
  152. /// <value></value>
  153. public string Name { get; set; }
  154. /// <summary>
  155. /// 用户Id
  156. /// </summary>
  157. /// <value></value>
  158. public string UserId { get; set; }
  159. /// <summary>
  160. /// 头像
  161. /// </summary>
  162. /// <value></value>
  163. public string AvatarUrl { get; set; }
  164. /// <summary>
  165. /// 点赞数量
  166. /// </summary>
  167. /// <value></value>
  168. public int PraiseCount { get; set; }
  169. /// <summary>
  170. /// 是否点赞
  171. /// </summary>
  172. /// <value></value>
  173. public bool IsPraise { get; set; }
  174. /// <summary>
  175. /// 评论数量
  176. /// </summary>
  177. /// <value></value>
  178. public int CommentCount { get; set; }
  179. /// <summary>
  180. /// 转发数量
  181. /// </summary>
  182. /// <value></value>
  183. public int RetransmissionCount { get; set; }
  184. /// <summary>
  185. /// 是否转发
  186. /// </summary>
  187. /// <value></value>
  188. public bool IsRetransmission { get; set; }
  189. /// <summary>
  190. /// 是否收藏
  191. /// </summary>
  192. /// <value></value>
  193. public bool IsCollect { get; set; }
  194. /// <summary>
  195. /// 阅读数量
  196. /// </summary>
  197. /// <value></value>
  198. public int ReadCount { get; set; }
  199. /// <summary>
  200. /// 文件夹名称
  201. /// </summary>
  202. public string FolderName { get; set; }
  203. /// <summary>
  204. /// 文件夹Id
  205. /// </summary>
  206. public int FolderId { get; set; }
  207. }
  208. }