MiddleInsertRequest.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using GxPress.EnumConst;
  5. namespace GxPress.Request.App.Middle
  6. {
  7. /// <summary>
  8. ///
  9. /// </summary>
  10. public class MiddleInsertRequest
  11. {
  12. /// <summary>
  13. /// 文件夹名称
  14. /// </summary>
  15. public string FolderName { get; set; }
  16. /// <summary>
  17. /// 文件夹类型 1 通知 2小组 3 收藏 4笔记 5 普通站内信 6匿名站内信 7小组
  18. /// </summary>
  19. public int FolderType { get; set; }
  20. /// <summary>
  21. /// 文件夹权限 1 普通 2 私有 3 共享
  22. /// </summary>
  23. public int RoleId { get; set; }
  24. /// <summary>
  25. /// 父级ID
  26. /// </summary>
  27. public int ParentId { get; set; }
  28. /// <summary>
  29. /// 用户ID
  30. /// </summary>
  31. public int UserId { get; set; }
  32. /// <summary>
  33. /// 共享人员ID
  34. /// </summary>
  35. public List<int> UserIds { get; set; }
  36. /// <summary>
  37. /// 新版人员选择
  38. /// </summary>
  39. /// <value></value>
  40. public List<Request.UserMiddle.UserMiddleInRequest> UserMiddles { get; set; }
  41. /// <summary>
  42. ///
  43. /// </summary>
  44. public MiddleInsertRequest()
  45. {
  46. UserIds = new List<int>();
  47. UserMiddles = new List<UserMiddle.UserMiddleInRequest>();
  48. }
  49. }
  50. /// <summary>
  51. /// 修改名称
  52. /// </summary>
  53. public class MiddleUpdateNameRequest
  54. {
  55. /// <summary>
  56. /// 文件夹ID
  57. /// </summary>
  58. public int MiddleId { get; set; }
  59. /// <summary>
  60. /// 文件夹名称
  61. /// </summary>
  62. public int FolderName { get; set; }
  63. }
  64. /// <summary>
  65. /// 添加信息
  66. /// </summary>
  67. public class MiddleInsertTypeRequest
  68. {
  69. /// <summary>
  70. /// 文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信 7小组
  71. /// </summary>
  72. public int FolderType { get; set; }
  73. /// <summary>
  74. /// 属性值 1 普通 2文件夹 3 验证
  75. /// </summary>
  76. public int AttributeValue { get; set; }
  77. /// <summary>
  78. /// 中间件ID 根据FolderType
  79. /// </summary>
  80. public int MiddleId { get; set; }
  81. /// <summary>
  82. /// 文件夹ID
  83. /// </summary>
  84. public int FolderId { get; set; }
  85. /// <summary>
  86. /// 用户信息
  87. /// </summary>
  88. public int UserId { get; set; }
  89. /// <summary>
  90. /// 子集ID
  91. /// </summary>
  92. public int MiddleSonId { get; set; }
  93. /// <summary>
  94. /// 是否管理员
  95. /// </summary>
  96. public bool IsAdmin { get; set; }
  97. /// <summary>
  98. /// 是否置顶
  99. /// </summary>
  100. public bool IsTop { get; set; }
  101. /// <summary>
  102. /// 类型
  103. /// </summary>
  104. public NoticeTypeConst NoticeAddresseeType { get; set; }
  105. /// <summary>
  106. /// 是否阅读
  107. /// </summary>
  108. public bool IsRead { get; set; }
  109. }
  110. }