refactor: notification module

This commit is contained in:
Jacky 2025-02-25 19:06:39 +08:00
parent 34fa4eb204
commit ab46d1de7e
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
41 changed files with 3989 additions and 2411 deletions

View file

@ -13,5 +13,6 @@ type Notification struct {
Model
Type NotificationType `json:"type"`
Title string `json:"title"`
Details string `json:"details"`
Content string `json:"content"`
Details any `json:"details" gorm:"serializer:json"`
}