// namespace SafeCampus.System; /// /// 用户消息表 /// [SugarTable("sys_message_user", TableDescription = "用户消息表")] [Tenant(SqlSugarConst.DB_DEFAULT)] public class SysMessageUser : BaseEntity { /// /// 消息Id /// [SugarColumn(ColumnName = "MessageId", ColumnDescription = "消息Id", IsNullable = false)] public long MessageId { get; set; } /// /// 用户Id /// [SugarColumn(ColumnName = "UserId", ColumnDescription = "用户Id", IsNullable = false)] public long UserId { get; set; } /// /// 已读未读 /// [SugarColumn(ColumnName = "Read", ColumnDescription = "已读未读", IsNullable = false)] public bool Read { get; set; } }