NoticeDetailResult.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.Common.Page;
  4. using GxPress.Result.App.Analyze;
  5. namespace GxPress.Result.Notice
  6. {
  7. /// <summary>
  8. /// 通知详情
  9. /// </summary>
  10. public class NoticeDetailResult
  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. /// 简单
  22. /// </summary>
  23. /// <value></value>
  24. public string SimplenessTtile { get; set; }
  25. /// <summary>
  26. /// 用户ID
  27. /// </summary>
  28. public int UserId { get; set; }
  29. /// <summary>
  30. /// 内容
  31. /// </summary>
  32. public string Content { get; set; }
  33. /// <summary>
  34. /// 内容
  35. /// </summary>
  36. public string HtmlContent { get; set; }
  37. /// <summary>
  38. /// 用户名
  39. /// </summary>
  40. public string UserName { get; set; }
  41. /// <summary>
  42. /// 收件人
  43. /// </summary>
  44. public List<string> NoticeAddresseeNames { get; set; }
  45. /// <summary>
  46. /// 新版收件人
  47. /// </summary>
  48. /// <value></value>
  49. public IEnumerable<Entity.UserMiddle.UserMiddle> AddresseeUserMiddles { get; set; }
  50. /// <summary>
  51. /// 新版抄送人
  52. /// </summary>
  53. /// <value></value>
  54. public IEnumerable<Entity.UserMiddle.UserMiddle> CcUserMiddles { get; set; }
  55. /// <summary>
  56. /// 收件数量
  57. /// </summary>
  58. public int AllCount { get; set; }
  59. /// <summary>
  60. /// 阅读量
  61. /// </summary>
  62. public int ReadCount { get; set; }
  63. /// <summary>
  64. /// 创建时间
  65. /// </summary>
  66. public DateTime? CreatedDate { get; set; }
  67. /// <summary>
  68. /// 评论数量
  69. /// </summary>
  70. public int CommentCount { get; set; }
  71. /// <summary>
  72. /// 收藏数量
  73. /// </summary>
  74. public int CollectCount { get; set; }
  75. /// <summary>
  76. /// 转发数量
  77. /// </summary>
  78. public int RetransmissionCount { get; set; }
  79. /// <summary>
  80. /// 点赞数量
  81. /// </summary>
  82. public int PraiseCount { get; set; }
  83. /// <summary>
  84. /// 文章点赞数据
  85. /// </summary>
  86. public PagedList<PraisePageResult> NoticePraisePagedList { get; set; }
  87. /// <summary>
  88. /// JsonData
  89. /// </summary>
  90. /// <value></value>
  91. public List<ContentJsonData> Data { get; set; }
  92. /// <summary>
  93. /// 是否收藏
  94. /// </summary>
  95. public bool IsCollect { get; set; }
  96. /// <summary>
  97. /// 是否点赞
  98. /// </summary>
  99. public bool IsPraise { get; set; }
  100. /// <summary>
  101. /// 是否转发
  102. /// </summary>
  103. public bool IsRetransmission { get; set; }
  104. /// <summary>
  105. /// 默认值
  106. /// </summary>
  107. public NoticeDetailResult()
  108. {
  109. NoticePraisePagedList = new PagedList<PraisePageResult>();
  110. }
  111. /// <summary>
  112. /// 是否是当前用户创建
  113. /// </summary>
  114. /// <value></value>
  115. public bool IsAdmin { get; set; }
  116. /// <summary>
  117. /// 是否撤回
  118. /// </summary>
  119. /// <value></value>
  120. public bool IsRecall { get; set; }
  121. }
  122. }