TopicListPageResult.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. using System;
  2. using System.Collections.Generic;
  3. namespace GxPress.Result.App.Topic
  4. {
  5. /// <summary>
  6. /// App文章列表显示
  7. /// </summary>
  8. public class TopicListPageResult
  9. {
  10. /// <summary>
  11. /// 通知自增ID
  12. /// </summary>
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 通知标题
  16. /// </summary>
  17. public string Title { get; set; }
  18. /// <summary>
  19. /// 用户姓名
  20. /// </summary>
  21. public string UserName { get; set; }
  22. /// <summary>
  23. /// 用户ID
  24. /// </summary>
  25. public int UserId { get; set; }
  26. /// <summary>
  27. /// 头像地址
  28. /// </summary>
  29. public string AvatarUrl { get; set; }
  30. /// <summary>
  31. /// 创建时间
  32. /// </summary>
  33. public DateTime? CreatedDate { get; set; }
  34. /// <summary>
  35. /// 内容
  36. /// </summary>
  37. public string Content { get; set; }
  38. /// <summary>
  39. /// 阅读量
  40. /// </summary>
  41. public int ReadCount { get; set; }
  42. /// <summary>
  43. /// 评论数量
  44. /// </summary>
  45. public int CommentCount { get; set; }
  46. /// <summary>
  47. /// 收藏数量
  48. /// </summary>
  49. public int CollectCount { get; set; }
  50. /// <summary>
  51. /// 转发数量
  52. /// </summary>
  53. public int RetransmissionCount { get; set; }
  54. /// <summary>
  55. /// 点赞数量
  56. /// </summary>
  57. public int PraiseCount { get; set; }
  58. /// <summary>
  59. /// json数据
  60. /// </summary>
  61. public List<ContentJsonData> Data { get; set; }
  62. /// <summary>
  63. /// 数据类型 1 没有 2 图 3 文件
  64. /// </summary>
  65. public int DataType { get; set; }
  66. /// <summary>
  67. /// 是否收藏
  68. /// </summary>
  69. public bool IsCollect { get; set; }
  70. /// <summary>
  71. /// 是否转发
  72. /// </summary>
  73. public bool IsRetransmission { get; set; }
  74. /// <summary>
  75. /// 是否点赞
  76. /// </summary>
  77. public bool IsPraise { get; set; }
  78. /// <summary>
  79. /// 共享文件夹
  80. /// </summary>
  81. /// <value></value>
  82. public TopicListPageFolderResult FolderResult { get; set; }
  83. /// <summary>
  84. /// 部门名称
  85. /// </summary>
  86. /// <value></value>
  87. public string DepartmentName { get; set; }
  88. /// <summary>
  89. /// 文件夹ID
  90. /// </summary>
  91. /// <value></value>
  92. public int FolderId { get; set; }
  93. /// <summary>
  94. ///
  95. /// </summary>
  96. public TopicListPageResult()
  97. {
  98. FolderResult = new TopicListPageFolderResult();
  99. }
  100. /// <summary>
  101. /// 附件个数
  102. /// </summary>
  103. /// <value></value>
  104. public int FileCount { get; set; }
  105. /// <summary>
  106. /// 文件夹名称
  107. /// </summary>
  108. /// <value></value>
  109. public string FolderName { get; set; }
  110. }
  111. /// <summary>
  112. /// 话题共享文件夹
  113. /// </summary>
  114. public class TopicListPageFolderResult
  115. {
  116. /// <summary>
  117. /// 共享文件夹ID
  118. /// </summary>
  119. /// <value></value>
  120. public int Id { get; set; }
  121. /// <summary>
  122. /// 共享文件夹名称
  123. /// </summary>
  124. /// <value></value>
  125. public string FolderName { get; set; }
  126. }
  127. }