平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SysMessageUser.cs 806 B

4 months ago
12345678910111213141516171819202122232425262728293031323334353637
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 用户消息表
  6. ///</summary>
  7. [SugarTable("sys_message_user", TableDescription = "用户消息表")]
  8. [Tenant(SqlSugarConst.DB_DEFAULT)]
  9. public class SysMessageUser : BaseEntity
  10. {
  11. /// <summary>
  12. /// 消息Id
  13. ///</summary>
  14. [SugarColumn(ColumnName = "MessageId", ColumnDescription = "消息Id", IsNullable = false)]
  15. public long MessageId { get; set; }
  16. /// <summary>
  17. /// 用户Id
  18. ///</summary>
  19. [SugarColumn(ColumnName = "UserId", ColumnDescription = "用户Id", IsNullable = false)]
  20. public long UserId { get; set; }
  21. /// <summary>
  22. /// 已读未读
  23. ///</summary>
  24. [SugarColumn(ColumnName = "Read", ColumnDescription = "已读未读", IsNullable = false)]
  25. public bool Read { get; set; }
  26. }