NoteResult.cs 6.1 KB

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