TopicDetailResult.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.Common.Page;
  4. using GxPress.Result.App.Analyze;
  5. namespace GxPress.Result.App.Topic
  6. {
  7. /// <summary>
  8. /// 通知详情
  9. /// </summary>
  10. public class TopicDetailResult
  11. {
  12. /// <summary>
  13. /// 通知ID
  14. /// </summary>
  15. public int Id { get; set; }
  16. /// <summary>
  17. /// 标题
  18. /// </summary>
  19. public string Title { get; set; }
  20. /// <summary>
  21. /// 用户ID
  22. /// </summary>
  23. public int UserId { get; set; }
  24. /// <summary>
  25. /// 内容
  26. /// </summary>
  27. public string Content { get; set; }
  28. /// <summary>
  29. /// 内容
  30. /// </summary>
  31. public string HtmlContent { get; set; }
  32. /// <summary>
  33. /// 用户名
  34. /// </summary>
  35. public string UserName { get; set; }
  36. /// <summary>
  37. /// 阅读量
  38. /// </summary>
  39. public int ReadCount { get; set; }
  40. /// <summary>
  41. /// 创建时间
  42. /// </summary>
  43. public DateTime? CreatedDate { get; set; }
  44. /// <summary>
  45. /// 评论数量
  46. /// </summary>
  47. public int CommentCount { get; set; }
  48. /// <summary>
  49. /// 收藏数量
  50. /// </summary>
  51. public int CollectCount { get; set; }
  52. /// <summary>
  53. /// 转发数量
  54. /// </summary>
  55. public int RetransmissionCount { get; set; }
  56. /// <summary>
  57. /// 点赞数量
  58. /// </summary>
  59. public int PraiseCount { get; set; }
  60. /// <summary>
  61. /// 文章点赞数据
  62. /// </summary>
  63. public PagedList<PraisePageResult> TopicPraisePagedList { get; set; }
  64. /// <summary>
  65. /// 是否创建人
  66. /// </summary>
  67. public bool IsAdmin { get; set; }
  68. /// <summary>
  69. /// 内容Json数据
  70. /// </summary>
  71. public List<ContentJsonData> Data { get; set; }
  72. /// <summary>
  73. /// 是否收藏
  74. /// </summary>
  75. public bool IsCollect { get; set; }
  76. /// <summary>
  77. /// 是否转发
  78. /// </summary>
  79. public bool IsRetransmission { get; set; }
  80. /// <summary>
  81. /// 是否点赞
  82. /// </summary>
  83. public bool IsPraise { get; set; }
  84. }
  85. }