CommentPageResult.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using GxPress.Result.AddressBookGroupUser;
  5. namespace GxPress.Result.Comment
  6. {
  7. /// <summary>
  8. /// 文章评论显示
  9. /// </summary>
  10. public class CommentPageResult
  11. {
  12. /// <summary>
  13. /// 姓名
  14. /// </summary>
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 头像
  18. /// </summary>
  19. public string AvatarUrl { get; set; }
  20. /// <summary>
  21. /// 内容
  22. /// </summary>
  23. public string Content { get; set; }
  24. /// <summary>
  25. /// HTML内容
  26. /// </summary>
  27. public string HtmlContent { get; set; }
  28. /// <summary>
  29. /// json内容
  30. /// </summary>
  31. public string JsonContent { get; set; }
  32. /// <summary>
  33. /// 时间
  34. /// </summary>
  35. public DateTime? CreatedTime { get; set; }
  36. /// <summary>
  37. /// 楼层
  38. /// </summary>
  39. public string FloorCount { get; set; }
  40. /// <summary>
  41. /// 点赞数量
  42. /// </summary>
  43. public int LaudCount { get; set; }
  44. /// <summary>
  45. /// 评论ID
  46. /// </summary>
  47. public int Id { get; set; }
  48. /// <summary>
  49. /// 文章ID
  50. /// </summary>
  51. public int ArticleId { get; set; }
  52. /// <summary>
  53. /// 被回复数据
  54. /// </summary>
  55. public List<CommentReplyResult> CommentReplyResults { get; set; }
  56. /// <summary>
  57. /// 用户ID
  58. /// </summary>
  59. public int UserId { get; set; }
  60. /// <summary>
  61. /// 当前用户是否点赞
  62. /// </summary>
  63. public bool IsLaud { get; set; }
  64. /// <summary>
  65. /// 评分
  66. /// </summary>
  67. /// <value></value>
  68. public decimal Score { get; set; }
  69. }
  70. /// <summary>
  71. /// 被回复评论
  72. /// </summary>
  73. public class CommentReplyResult
  74. {
  75. /// <summary>
  76. /// 姓名
  77. /// </summary>
  78. public string Name { get; set; }
  79. /// <summary>
  80. /// 回复姓名
  81. /// </summary>
  82. public string ReplyName { get; set; }
  83. /// <summary>
  84. /// 内容
  85. /// </summary>
  86. public string Content { get; set; }
  87. /// <summary>
  88. /// HTML内容
  89. /// </summary>
  90. public string HtmlContent { get; set; }
  91. /// <summary>
  92. /// json内容
  93. /// </summary>
  94. public string JsonContent { get; set; }
  95. /// <summary>
  96. /// 时间
  97. /// </summary>
  98. public DateTime? CreatedTime { get; set; }
  99. /// <summary>
  100. /// ID
  101. /// </summary>
  102. public int Id { get; set; }
  103. /// <summary>
  104. /// 用户ID
  105. /// </summary>
  106. public int UserId { get; set; }
  107. /// <summary>
  108. /// 回复人ID
  109. /// </summary>
  110. /// <value></value>
  111. public int ReplyUserId { get; set; }
  112. /// <summary>
  113. /// 是否回复
  114. /// </summary>
  115. public bool IsUnderstand { get; set; }
  116. }
  117. /// <summary>
  118. /// 被回复评论
  119. /// </summary>
  120. public class CommentResult
  121. {
  122. /// <summary>
  123. /// ID
  124. /// </summary>
  125. /// <value></value>
  126. public int Id { get; set; }
  127. /// <summary>
  128. /// 数据ID
  129. /// </summary>
  130. public int ArticleId { get; set; }
  131. /// <summary>
  132. /// 用户ID
  133. /// </summary>
  134. public int UserId { get; set; }
  135. /// <summary>
  136. /// 内容
  137. /// </summary>
  138. public string Content { get; set; }
  139. /// <summary>
  140. /// HTML内容
  141. /// </summary>
  142. public string HtmlContent { get; set; }
  143. /// <summary>
  144. /// json内容
  145. /// </summary>
  146. public string JsonContent { get; set; }
  147. /// <summary>
  148. /// 状态 文章100,话题2,收藏3,笔记4,通知5,站内信6,小组7,收藏文件夹12,笔记文件夹13,工作流审批14,文件300,图片301,会议纪要8,会议详情500,财务报表601,人事报表602,出版报表603,书籍20,课程30,音频40,期刊50,视频60,名栏90,公众号110,刊期120
  149. /// </summary>
  150. /// <value></value>
  151. public int TypeValue { get; set; }
  152. /// <summary>
  153. /// 评论类型
  154. /// </summary>
  155. /// <value></value>
  156. public string TypeValueString { get; set; }
  157. /// <summary>
  158. /// 标题
  159. /// </summary>
  160. /// <value></value>
  161. public string Title { get; set; }
  162. /// <summary>
  163. /// 评论时间
  164. /// </summary>
  165. /// <value></value>
  166. public DateTime? CreatedDate { get; set; }
  167. }
  168. }