NoticeInRequest.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. }
  79. }