Group.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. /// 小组创始人
  18. /// </summary>
  19. [DataColumn]
  20. public int UserId { get; set; }
  21. /// <summary>
  22. /// 二维码
  23. /// </summary>
  24. [DataColumn]
  25. public string QRCoder { get; set; }
  26. /// <summary>
  27. /// 头像
  28. /// </summary>
  29. [DataColumn]
  30. public string AvatarUrl { get; set; }
  31. /// <summary>
  32. /// 介绍
  33. /// </summary>
  34. [DataColumn]
  35. public string Introduce { get; set; }
  36. /// <summary>
  37. ///是否管理用同意
  38. /// </summary>
  39. [DataColumn]
  40. public bool IsAdmin { get; set; }
  41. /// <summary>
  42. /// 是否禁言
  43. /// </summary>
  44. [DataColumn]
  45. public bool IsWords { get; set; }
  46. /// <summary>
  47. /// 是否免打扰
  48. /// </summary>
  49. [DataColumn]
  50. public bool IsUDisturb { get; set; }
  51. }
  52. }