GroupUser.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using GxPress.EnumConst;
  2. using Datory.Annotations;
  3. using System;
  4. namespace GxPress.Entity
  5. {
  6. /// <summary>
  7. /// 现在成员
  8. /// </summary>
  9. [DataTable("tede_group_user")]
  10. public class GroupUser : Datory.Entity
  11. {
  12. /// <summary>
  13. /// 小组ID
  14. /// </summary>
  15. [DataColumn]
  16. public int GroupId { get; set; }
  17. /// <summary>
  18. /// 小组成员ID
  19. /// </summary>
  20. [DataColumn]
  21. public int UserId { get; set; }
  22. /// <summary>
  23. /// 角色类型
  24. /// </summary>
  25. [DataColumn]
  26. public GroupUserRoleTyeConst GroupUserRoleId { get; set; }
  27. /// <summary>
  28. /// 是否免打扰
  29. /// </summary>
  30. [DataColumn]
  31. public bool IsUDisturb { get; set; }
  32. /// <summary>
  33. /// 用户阅读时间
  34. /// </summary>
  35. /// <value></value>
  36. [DataColumn]
  37. public DateTime ReadDate { get; set; }
  38. /// <summary>
  39. /// 是否加入到通讯录
  40. /// </summary>
  41. /// <value></value>
  42. [DataColumn]
  43. public bool IsContacts { get; set; }
  44. }
  45. }