Group.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. using System.Data;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity
  4. {
  5. /// <summary>
  6. /// 小组
  7. /// </summary>
  8. [DataTable("tede_group")]
  9. public class Group : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 小组名称
  13. /// </summary>
  14. [DataColumn]
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 小组创始人Id
  18. /// </summary>
  19. [DataColumn]
  20. public int UserId { get; set; }
  21. /// <summary>
  22. /// 小组创始人
  23. /// </summary>
  24. [DataColumn]
  25. public int UserName { get; set; }
  26. /// <summary>
  27. /// 二维码
  28. /// </summary>
  29. [DataColumn]
  30. public string QRCoder { get; set; }
  31. /// <summary>
  32. /// 头像
  33. /// </summary>
  34. [DataColumn]
  35. public string AvatarUrl { get; set; }
  36. /// <summary>
  37. /// 介绍
  38. /// </summary>
  39. [DataColumn]
  40. public string Introduce { get; set; }
  41. /// <summary>
  42. ///是否管理用同意
  43. /// </summary>
  44. [DataColumn]
  45. public bool IsAdmin { get; set; }
  46. /// <summary>
  47. /// 是否禁言
  48. /// </summary>
  49. [DataColumn]
  50. public bool IsWords { get; set; }
  51. /// <summary>
  52. /// 是否免打扰
  53. /// </summary>
  54. [DataColumn]
  55. public bool IsUDisturb { get; set; }
  56. /// <summary>
  57. /// 广场ID
  58. /// </summary>
  59. [DataColumn]
  60. public int GroupCategroyId { get; set; }
  61. /// <summary>
  62. /// 用户数量
  63. /// </summary>
  64. /// <value></value>
  65. [DataColumn]
  66. public int UserCount { get; set; }
  67. /// <summary>
  68. /// 小组文章数量
  69. /// </summary>
  70. /// <value></value>
  71. [DataColumn]
  72. public int GroupArticleCount { get; set; }
  73. /// <summary>
  74. /// 标签
  75. /// </summary>
  76. /// <value></value>
  77. [DataColumn]
  78. public string LabelName { get; set; }
  79. /// <summary>
  80. /// 是否显示
  81. /// </summary>
  82. /// <value></value>
  83. [DataColumn]
  84. public bool IsShow { get; set; }
  85. /// <summary>
  86. /// 历史用户头像
  87. /// </summary>
  88. /// <value></value>
  89. [DataColumn]
  90. public string HistoryAvatarUrl { get; set; }
  91. /// <summary>
  92. /// 排序
  93. /// </summary>
  94. /// <value></value>
  95. [DataColumn]
  96. public int Sort { get; set; }
  97. }
  98. }