NoticeDetailResult.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. /// 用户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 List<string> NoticeAddresseeNames { get; set; }
  40. /// <summary>
  41. /// 新版收件人
  42. /// </summary>
  43. /// <value></value>
  44. public IEnumerable<Entity.UserMiddle.UserMiddle> AddresseeUserMiddles { get; set; }
  45. /// <summary>
  46. /// 新版抄送人
  47. /// </summary>
  48. /// <value></value>
  49. public IEnumerable<Entity.UserMiddle.UserMiddle> CcUserMiddles { get; set; }
  50. /// <summary>
  51. /// 收件数量
  52. /// </summary>
  53. public int AllCount { get; set; }
  54. /// <summary>
  55. /// 阅读量
  56. /// </summary>
  57. public int ReadCount { get; set; }
  58. /// <summary>
  59. /// 创建时间
  60. /// </summary>
  61. public DateTime? CreatedDate { get; set; }
  62. /// <summary>
  63. /// 评论数量
  64. /// </summary>
  65. public int CommentCount { get; set; }
  66. /// <summary>
  67. /// 收藏数量
  68. /// </summary>
  69. public int CollectCount { get; set; }
  70. /// <summary>
  71. /// 转发数量
  72. /// </summary>
  73. public int RetransmissionCount { get; set; }
  74. /// <summary>
  75. /// 点赞数量
  76. /// </summary>
  77. public int PraiseCount { get; set; }
  78. /// <summary>
  79. /// 文章点赞数据
  80. /// </summary>
  81. public PagedList<PraisePageResult> NoticePraisePagedList { get; set; }
  82. /// <summary>
  83. /// JsonData
  84. /// </summary>
  85. /// <value></value>
  86. public List<ContentJsonData> Data { get; set; }
  87. /// <summary>
  88. /// 是否收藏
  89. /// </summary>
  90. public bool IsCollect { get; set; }
  91. /// <summary>
  92. /// 是否点赞
  93. /// </summary>
  94. public bool IsPraise { get; set; }
  95. /// <summary>
  96. /// 是否转发
  97. /// </summary>
  98. public bool IsRetransmission { get; set; }
  99. /// <summary>
  100. /// 默认值
  101. /// </summary>
  102. public NoticeDetailResult()
  103. {
  104. NoticePraisePagedList = new PagedList<PraisePageResult>();
  105. }
  106. /// <summary>
  107. /// 是否是当前用户创建
  108. /// </summary>
  109. /// <value></value>
  110. public bool IsAdmin { get; set; }
  111. /// <summary>
  112. /// 是否撤回
  113. /// </summary>
  114. /// <value></value>
  115. public bool IsRecall { get; set; }
  116. }
  117. }