NoticeInRequest.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. using System.Collections.Generic;
  2. using GxPress.Common.Tools;
  3. using GxPress.EnumConst;
  4. namespace GxPress.Request.Notice
  5. {
  6. /// <summary>
  7. /// 添加通知
  8. /// </summary>
  9. public class NoticeInRequest
  10. {
  11. /// <summary>
  12. ///
  13. /// </summary>
  14. /// <value></value>
  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. /// 类型 (1 发送 2 草稿)
  34. /// </summary>
  35. public NoticeTypeConst NoticeType { get; set; }
  36. /// <summary>
  37. /// 收件人
  38. /// </summary>
  39. public List<int> NoticeAddresseeUserIds { get; set; }
  40. /// <summary>
  41. /// 新版收件人
  42. /// </summary>
  43. /// <value></value>
  44. public List<Request.UserMiddle.UserMiddleInRequest> AddresseeUserMiddles { get; set; }
  45. /// <summary>
  46. /// 新版抄送人
  47. /// </summary>
  48. /// <value></value>
  49. public List<Request.UserMiddle.UserMiddleInRequest> CcUserMiddles { get; set; }
  50. /// <summary>
  51. /// 抄送人
  52. /// </summary>
  53. public List<int> NoticeCcUserIds { get; set; }
  54. /// <summary>
  55. /// 是否删除
  56. /// </summary>
  57. public bool IsDelete { get; set; }
  58. /// <summary>
  59. ///
  60. /// </summary>
  61. public NoticeInRequest()
  62. {
  63. AddresseeUserMiddles = new List<UserMiddle.UserMiddleInRequest>();
  64. CcUserMiddles = new List<UserMiddle.UserMiddleInRequest>();
  65. NoticeAddresseeUserIds = new List<int>();
  66. NoticeCcUserIds = new List<int>();
  67. }
  68. /// <summary>
  69. /// 文件夹Id
  70. /// </summary>
  71. /// <value></value>
  72. public int FolderId { get; set; }
  73. /// <summary>
  74. /// 来源ID
  75. /// </summary>
  76. /// <value></value>
  77. public int SoureId { get; set; }
  78. /// <summary>
  79. /// 5 通知 6站内信 15 我审批的 16 我发出的 17 抄送我的 18 匿名信
  80. /// </summary>
  81. /// <value></value>
  82. public int TypeValue { get; set; }
  83. /// <summary>
  84. /// 父级ID
  85. /// </summary>
  86. /// <value></value>
  87. public int ParentId { get; set; }
  88. /// <summary>
  89. /// 子
  90. /// </summary>
  91. /// <value></value>
  92. public int SonId { get; set; }
  93. /// <summary>
  94. /// 发件人
  95. /// </summary>
  96. /// <value></value>
  97. public string SendUserName { get; set; }
  98. /// <summary>
  99. /// 发件人用户ID
  100. /// </summary>
  101. /// <value></value>
  102. public int SendUserId { get; set; }
  103. }
  104. }