Notifications

This commit is contained in:
2024-02-01 15:58:28 +08:00
parent e2b609cf43
commit dbc09bd7af
5 changed files with 124 additions and 10 deletions

View File

@ -9,5 +9,6 @@ type Notification struct {
Content string `json:"content"`
IsImportant bool `json:"is_important"`
ReadAt *time.Time `json:"read_at"`
SenderID *uint `json:"sender_id"`
RecipientID uint `json:"recipient_id"`
}