平安校园
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.
 
 
 
 
 
 

38 lines
806 B

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