NoticeCommentPageResult.cs 2.3 KB

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