Middle.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. using GxPress.EnumConst;
  2. namespace GxPress.Result.App.Middle
  3. {
  4. /// <summary>
  5. ///
  6. /// </summary>
  7. public class Middle
  8. {
  9. /// <summary>
  10. /// 文件夹名称
  11. /// </summary>
  12. public string FolderName { get; set; }
  13. /// <summary>
  14. /// 文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信
  15. /// </summary>
  16. public int FolderType { get; set; }
  17. /// <summary>
  18. /// 是否置顶
  19. /// </summary>
  20. public bool IsTop { get; set; }
  21. /// <summary>
  22. /// 文件夹权限 1 普通 2 私有 3 共享
  23. /// </summary>
  24. public int RoleId { get; set; }
  25. /// <summary>
  26. /// 排序
  27. /// </summary>
  28. public int Sort { get; set; }
  29. /// <summary>
  30. /// 中间件ID 根据FolderType
  31. /// </summary>
  32. public int MiddleId { get; set; }
  33. /// <summary>
  34. /// 父级ID
  35. /// </summary>
  36. public int ParentId { get; set; }
  37. /// <summary>
  38. /// 子集ID
  39. /// </summary>
  40. public int MiddleSonId { get; set; }
  41. /// <summary>
  42. /// 是否阅读
  43. /// </summary>
  44. public bool IsRead { get; set; }
  45. /// <summary>
  46. /// 手机人状态 1 接收 2 草稿
  47. /// </summary>
  48. public NoticeTypeConst NoticeAddresseeType { get; set; }
  49. /// <summary>
  50. /// 是否管理员
  51. /// </summary>
  52. public bool IsAdmin { get; set; }
  53. /// <summary>
  54. /// 是否删除
  55. /// </summary>
  56. public bool IsDelete { get; set; }
  57. /// <summary>
  58. /// 属性值 1 普通 2文件夹 3 验证
  59. /// </summary>
  60. public int AttributeValue { get; set; }
  61. /// <summary>
  62. /// 角色类型 1 超级管理员 2 管理员 3普通
  63. /// </summary>
  64. public GroupUserRoleTyeConst GroupUserRoleId { get; set; }
  65. /// <summary>
  66. /// 用户ID
  67. /// </summary>
  68. public int UserId { get; set; }
  69. /// <summary>
  70. /// 共享成员
  71. /// </summary>
  72. /// <value></value>
  73. public string EnjoyUser { get; set; }
  74. }
  75. /// <summary>
  76. /// 添加文件夹返回
  77. /// </summary>
  78. public class MiddleInResult
  79. {
  80. public int Id { get; set; }
  81. public string Name { get; set; }
  82. }
  83. }