TopicCommentPageResult.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. using System;
  2. using System.Collections.Generic;
  3. namespace GxPress.Result.App.TopicComment
  4. {
  5. /// <summary>
  6. /// 话题评论显示
  7. /// </summary>
  8. public class TopicCommentPageResult
  9. {
  10. /// <summary>
  11. /// 姓名
  12. /// </summary>
  13. public string Name { get; set; }
  14. /// <summary>
  15. /// 头像
  16. /// </summary>
  17. public string AvatarUrl { get; set; }
  18. /// <summary>
  19. /// 内容
  20. /// </summary>
  21. public string Content { get; set; }
  22. /// <summary>
  23. /// 时间
  24. /// </summary>
  25. public DateTime? CreatedTime { get; set; }
  26. /// <summary>
  27. /// 楼层
  28. /// </summary>
  29. public string FloorCount { get; set; }
  30. /// <summary>
  31. /// 点赞数量
  32. /// </summary>
  33. public int LaudCount { get; set; }
  34. /// <summary>
  35. /// 评论ID
  36. /// </summary>
  37. public int Id { get; set; }
  38. /// <summary>
  39. /// 文章ID
  40. /// </summary>
  41. public int TopicId { get; set; }
  42. /// <summary>
  43. /// 被回复数据
  44. /// </summary>
  45. public List<TopicCommentReplyResult> TopicCommentReplyResults { get; set; }
  46. /// <summary>
  47. /// 用户ID
  48. /// </summary>
  49. public int UserId { get; set; }
  50. /// <summary>
  51. /// 是否点赞
  52. /// </summary>
  53. public bool IsLaud { get; set; }
  54. }
  55. /// <summary>
  56. /// 被回复评论
  57. /// </summary>
  58. public class TopicCommentReplyResult
  59. {
  60. /// <summary>
  61. /// 姓名
  62. /// </summary>
  63. public string Name { get; set; }
  64. /// <summary>
  65. /// 回复姓名
  66. /// </summary>
  67. public string ReplyName { get; set; }
  68. /// <summary>
  69. /// 内容
  70. /// </summary>
  71. public string Content { get; set; }
  72. /// <summary>
  73. /// 时间
  74. /// </summary>
  75. public DateTime? CreatedTime { get; set; }
  76. /// <summary>
  77. /// ID
  78. /// </summary>
  79. public int Id { get; set; }
  80. /// <summary>
  81. /// 用户ID
  82. /// </summary>
  83. public int UserId { get; set; }
  84. /// <summary>
  85. /// 回复人ID
  86. /// </summary>
  87. /// <value></value>
  88. public int ReplyUserId{get;set;}
  89. /// <summary>
  90. /// 是否回复
  91. /// </summary>
  92. public bool IsUnderstand { get; set; }
  93. }
  94. }