Middle.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. using GxPress.EnumConst;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity.Middle
  4. {
  5. /// <summary>
  6. /// 中间表
  7. /// </summary>
  8. [DataTable("tede_middle")]
  9. public class Middle : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 文件夹名称
  13. /// </summary>
  14. [DataColumn]
  15. public string FolderName { get; set; }
  16. /// <summary>
  17. /// 文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信 7小组 10信源
  18. /// </summary>
  19. [DataColumn]
  20. public int FolderType { get; set; }
  21. /// <summary>
  22. /// 是否置顶
  23. /// </summary>
  24. [DataColumn]
  25. public bool IsTop { get; set; }
  26. /// <summary>
  27. /// 文件夹权限 1 普通 2 私有 3 共享
  28. /// </summary>
  29. [DataColumn]
  30. public int RoleId { get; set; }
  31. /// <summary>
  32. /// 排序
  33. /// </summary>
  34. [DataColumn]
  35. public int Sort { get; set; }
  36. /// <summary>
  37. /// 中间件ID 根据FolderType
  38. /// </summary>
  39. [DataColumn]
  40. public int MiddleId { get; set; }
  41. /// <summary>
  42. /// 父级ID
  43. /// </summary>
  44. [DataColumn]
  45. public int ParentId { get; set; }
  46. /// <summary>
  47. /// 属性值 1 普通 2文件夹 3 验证
  48. /// </summary>
  49. [DataColumn]
  50. public int AttributeValue { get; set; }
  51. /// <summary>
  52. /// 用户ID
  53. /// </summary>
  54. [DataColumn]
  55. public int UserId { get; set; }
  56. /// <summary>
  57. /// 子集ID
  58. /// </summary>
  59. [DataColumn]
  60. public int MiddleSonId { get; set; }
  61. /// <summary>
  62. /// 是否阅读
  63. /// </summary>
  64. [DataColumn]
  65. public bool IsRead { get; set; }
  66. /// <summary>
  67. /// 手机人状态 1 接收 2 草稿
  68. /// </summary>
  69. [DataColumn]
  70. public NoticeTypeConst NoticeAddresseeType { get; set; }
  71. /// <summary>
  72. /// 是否管理员
  73. /// </summary>
  74. [DataColumn]
  75. public bool IsAdmin { get; set; }
  76. /// <summary>
  77. /// 是否删除
  78. /// </summary>
  79. [DataColumn]
  80. public bool IsDelete { get; set; }
  81. /// <summary>
  82. /// 是否默认 话题发布范围
  83. /// </summary>
  84. /// <value></value>
  85. [DataColumn]
  86. public bool IsDefault { get; set; }
  87. /// <summary>
  88. /// 是否上传
  89. /// </summary>
  90. /// <value></value>
  91. [DataColumn]
  92. public bool IsUpload { get; set; }
  93. }
  94. }