MissiveInRequest.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Datory.Annotations;
  5. using GxPress.EnumConst;
  6. namespace GxPress.Request.App.Missive
  7. {
  8. /// <summary>
  9. /// 添加站内信
  10. /// </summary>
  11. public class MissiveInRequest
  12. {
  13. /// <summary>
  14. /// 站内信ID
  15. /// </summary>
  16. public int Id { get; set; }
  17. /// <summary>
  18. /// 标题
  19. /// </summary>
  20. public string Title { get; set; }
  21. /// <summary>
  22. /// 用户ID
  23. /// </summary>
  24. public int UserId { get; set; }
  25. /// <summary>
  26. /// 内容
  27. /// </summary>
  28. public string Content { get; set; }
  29. /// <summary>
  30. /// html内容
  31. /// </summary>
  32. /// <value></value>
  33. public string HtmlContent { get; set; }
  34. /// <summary>
  35. /// 1 正常 2 匿名
  36. /// </summary>
  37. public int MissiveType { get; set; }
  38. /// <summary>
  39. /// 收件人
  40. /// </summary>
  41. public List<int> MissiveAddresseeUserIds { get; set; }
  42. /// <summary>
  43. /// 抄送人
  44. /// </summary>
  45. public List<int> MissiveCcUserIds { get; set; }
  46. /// <summary>
  47. /// 父级ID
  48. /// </summary>
  49. public int ParentId { get; set; }
  50. /// <summary>
  51. /// 类型 (1 发送 2 草稿)
  52. /// </summary>
  53. public NoticeTypeConst MissiveAttributeType { get; set; }
  54. /// <summary>
  55. /// 文件夹Id
  56. /// </summary>
  57. public int FolderId { get; set; }
  58. /// <summary>
  59. /// 新版收件人
  60. /// </summary>
  61. /// <value></value>
  62. public List<Request.UserMiddle.UserMiddleInRequest> AddresseeUserMiddles { get; set; }
  63. /// <summary>
  64. /// 新版抄送人
  65. /// </summary>
  66. /// <value></value>
  67. public List<Request.UserMiddle.UserMiddleInRequest> CcUserMiddles { get; set; }
  68. /// <summary>
  69. ///
  70. /// </summary>
  71. public MissiveInRequest()
  72. {
  73. AddresseeUserMiddles = new List<UserMiddle.UserMiddleInRequest>();
  74. CcUserMiddles = new List<UserMiddle.UserMiddleInRequest>();
  75. MissiveAddresseeUserIds = new List<int>();
  76. MissiveCcUserIds = new List<int>();
  77. }
  78. }
  79. }