CommentPageResult.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. /// 时间
  26. /// </summary>
  27. public DateTime? CreatedTime { get; set; }
  28. /// <summary>
  29. /// 楼层
  30. /// </summary>
  31. public string FloorCount { get; set; }
  32. /// <summary>
  33. /// 点赞数量
  34. /// </summary>
  35. public int LaudCount { get; set; }
  36. /// <summary>
  37. /// 评论ID
  38. /// </summary>
  39. public int Id { get; set; }
  40. /// <summary>
  41. /// 文章ID
  42. /// </summary>
  43. public int ArticleId { get; set; }
  44. /// <summary>
  45. /// 被回复数据
  46. /// </summary>
  47. public List<CommentReplyResult> CommentReplyResults { get; set; }
  48. /// <summary>
  49. /// 用户ID
  50. /// </summary>
  51. public int UserId { get; set; }
  52. /// <summary>
  53. /// 当前用户是否点赞
  54. /// </summary>
  55. public bool IsLaud { get; set; }
  56. /// <summary>
  57. /// 评分
  58. /// </summary>
  59. /// <value></value>
  60. public decimal Score { get; set; }
  61. }
  62. /// <summary>
  63. /// 被回复评论
  64. /// </summary>
  65. public class CommentReplyResult
  66. {
  67. /// <summary>
  68. /// 姓名
  69. /// </summary>
  70. public string Name { get; set; }
  71. /// <summary>
  72. /// 回复姓名
  73. /// </summary>
  74. public string ReplyName { get; set; }
  75. /// <summary>
  76. /// 内容
  77. /// </summary>
  78. public string Content { get; set; }
  79. /// <summary>
  80. /// 时间
  81. /// </summary>
  82. public DateTime? CreatedTime { get; set; }
  83. /// <summary>
  84. /// ID
  85. /// </summary>
  86. public int Id { get; set; }
  87. /// <summary>
  88. /// 用户ID
  89. /// </summary>
  90. public int UserId { get; set; }
  91. /// <summary>
  92. /// 回复人ID
  93. /// </summary>
  94. /// <value></value>
  95. public int ReplyUserId { get; set; }
  96. /// <summary>
  97. /// 是否回复
  98. /// </summary>
  99. public bool IsUnderstand { get; set; }
  100. }
  101. /// <summary>
  102. /// 被回复评论
  103. /// </summary>
  104. public class CommentResult
  105. {
  106. /// <summary>
  107. /// ID
  108. /// </summary>
  109. /// <value></value>
  110. public int Id { get; set; }
  111. /// <summary>
  112. /// 数据ID
  113. /// </summary>
  114. public int ArticleId { get; set; }
  115. /// <summary>
  116. /// 用户ID
  117. /// </summary>
  118. public int UserId { get; set; }
  119. /// <summary>
  120. /// 内容
  121. /// </summary>
  122. public string Content { get; set; }
  123. /// <summary>
  124. /// 状态 文章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
  125. /// </summary>
  126. /// <value></value>
  127. public int TypeValue { get; set; }
  128. /// <summary>
  129. /// 评论类型
  130. /// </summary>
  131. /// <value></value>
  132. public string TypeValueString { get; set; }
  133. /// <summary>
  134. /// 标题
  135. /// </summary>
  136. /// <value></value>
  137. public string Title { get; set; }
  138. /// <summary>
  139. /// 评论时间
  140. /// </summary>
  141. /// <value></value>
  142. public DateTime? CreatedDate { get; set; }
  143. }
  144. }