Sys_MessageReadAuth.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.System
  7. {
  8. /// <summary>
  9. /// 消息可读员工
  10. /// </summary>
  11. public class Sys_MessageReadAuth:EntityBase
  12. {
  13. /// <summary>
  14. /// 消息Id
  15. /// </summary>
  16. [SugarColumn(IsNullable = true,ColumnDataType = "int")]
  17. public int MsgId { get; set; }
  18. /// <summary>
  19. /// 可读用户Id
  20. /// </summary>
  21. [SugarColumn(IsNullable = true,ColumnDataType = "int")]
  22. public int ReadableUId { get; set; }
  23. /// <summary>
  24. /// 是否已读
  25. /// 0 未读
  26. /// 1 已读
  27. /// </summary>
  28. [SugarColumn(IsNullable = true,ColumnDataType = "int")]
  29. public int IsRead { get; set; }
  30. /// <summary>
  31. /// 阅读时间
  32. /// </summary>
  33. [SugarColumn(IsNullable = true,ColumnDataType = "datetime")]
  34. public DateTime ReadTime { get; set; }
  35. }
  36. }