Continued work on messages and notifications.

This commit is contained in:
2025-10-30 11:11:22 +00:00
parent b41e92629b
commit 8650b1fd63
14 changed files with 387 additions and 172 deletions

View File

@@ -18,7 +18,7 @@ type User struct {
type Notification struct {
ID int
UserId int
Subject string
Title string
Body string
IsRead bool
CreatedAt time.Time
@@ -30,8 +30,9 @@ type Message struct {
SenderId int
RecipientId int
Subject string
Message string
Body string
IsRead bool
IsArchived bool
CreatedAt time.Time
ArchivedAt *time.Time
}