MissiveInfoResult.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.Result.User;
  4. namespace GxPress.Result.App.Missive
  5. {
  6. /// <summary>
  7. /// 站内信详情
  8. /// </summary>
  9. public class MissiveInfoResult
  10. {
  11. /// <summary>
  12. /// 当前页的数据
  13. /// </summary>
  14. public List<MissiveInfo> Items { get; set; }
  15. /// <summary>
  16. /// 总数
  17. /// </summary>
  18. public int Total { get; set; }
  19. /// <summary>
  20. /// 全部回复收集人
  21. /// </summary>
  22. /// <value></value>
  23. public List<MissiveAddresseeUser> missiveAddressees { get; set; }
  24. /// <summary>
  25. /// 回复收件人
  26. /// </summary>
  27. /// <value></value>
  28. public MissiveAddresseeUser missiveAddressee { get; set; }
  29. /// <summary>
  30. /// 全部回复收集人
  31. /// </summary>
  32. /// <value></value>
  33. public List<GxPress.Result.App.UserMiddle.UserMiddleResult> UserMiddleResults { get; set; }
  34. /// <summary>
  35. /// 回复收件人
  36. /// </summary>
  37. /// <value></value>
  38. public GxPress.Result.App.UserMiddle.UserMiddleResult UserMiddleResult { get; set; }
  39. /// <summary>
  40. /// 全部回复抄送人
  41. /// </summary>
  42. /// <value></value>
  43. public List<GxPress.Result.App.UserMiddle.UserMiddleResult> UseCcrMiddleResults { get; set; }
  44. }
  45. /// <summary>
  46. /// 站内信详情
  47. /// </summary>
  48. public class MissiveInfo
  49. {
  50. /// <summary>
  51. /// 站内信ID
  52. /// </summary>
  53. public int Id { get; set; }
  54. /// <summary>
  55. /// 标题
  56. /// </summary>
  57. public string Title { get; set; }
  58. /// <summary>
  59. /// 简单标题
  60. /// </summary>
  61. /// <value></value>
  62. public string SimplenessTtile { get; set; }
  63. /// <summary>
  64. /// 用户ID
  65. /// </summary>
  66. public int UserId { get; set; }
  67. /// <summary>
  68. /// 内容
  69. /// </summary>
  70. public string Content { get; set; }
  71. /// <summary>
  72. /// 内容
  73. /// </summary>
  74. public string HtmlContent { get; set; }
  75. /// <summary>
  76. /// 用户名
  77. /// </summary>
  78. public string UserName { get; set; }
  79. /// <summary>
  80. /// 父级ID用于回复
  81. /// </summary>
  82. public int ParentId { get; set; }
  83. /// <summary>
  84. /// 1 普通 2 匿名
  85. /// </summary>
  86. public int MissiveType { get; set; }
  87. /// <summary>
  88. /// 1 接收 2 草稿
  89. /// </summary>
  90. /// <value></value>
  91. public int MissiveSendType { get; set; }
  92. /// <summary>
  93. /// 收件人
  94. /// </summary>
  95. public List<UserResult> AddresseeUsers { get; set; }
  96. /// <summary>
  97. /// 抄送人
  98. /// </summary>
  99. public List<UserResult> CcUsers { get; set; }
  100. /// <summary>
  101. /// 已读数量
  102. /// </summary>
  103. public int ReadCount { get; set; }
  104. /// <summary>
  105. /// 总量
  106. /// </summary>
  107. public int AllCount { get; set; }
  108. /// <summary>
  109. /// 收藏数量
  110. /// </summary>
  111. public int CollectCount { get; set; }
  112. /// <summary>
  113. /// 转发数量
  114. /// </summary>
  115. public int RetransmissionCount { get; set; }
  116. /// <summary>
  117. /// 点赞数量
  118. /// </summary>
  119. public int PraiseCount { get; set; }
  120. /// <summary>
  121. /// 发件人姓名
  122. /// </summary>
  123. public string SendName { get; set; }
  124. /// <summary>
  125. /// json内容格式
  126. /// </summary>
  127. public List<ContentJsonData> Data { get; set; }
  128. /// <summary>
  129. /// 创建时间
  130. /// </summary>
  131. public DateTime? CreatedDate { get; set; }
  132. /// <summary>
  133. /// 是否收藏
  134. /// </summary>
  135. public bool IsCollect { get; set; }
  136. /// <summary>
  137. /// 是否点赞
  138. /// </summary>
  139. public bool IsPraise { get; set; }
  140. /// <summary>
  141. /// 是否转发
  142. /// </summary>
  143. public bool IsRetransmission { get; set; }
  144. /// <summary>
  145. /// 是否自己
  146. /// </summary>
  147. /// <value></value>
  148. public bool IsAdmin { get; set; }
  149. /// <summary>
  150. /// 是否撤回
  151. /// </summary>
  152. /// <value></value>
  153. public bool IsRecall { get; set; }
  154. /// <summary>
  155. /// 新版收件人
  156. /// </summary>
  157. /// <value></value>
  158. public IEnumerable<Entity.UserMiddle.UserMiddle> AddresseeUserMiddles { get; set; }
  159. /// <summary>
  160. /// 新版抄送人
  161. /// </summary>
  162. /// <value></value>
  163. public IEnumerable<Entity.UserMiddle.UserMiddle> CcUserMiddles { get; set; }
  164. }
  165. }