fix: notification issue

This commit is contained in:
Marvin Zhang
2024-06-26 13:18:28 +08:00
parent 326a8d67d0
commit 73a5a64ba4
8 changed files with 24 additions and 14 deletions

View File

@@ -1,11 +1,8 @@
package models
import "go.mongodb.org/mongo-driver/bson/primitive"
type NotificationSettingV2 struct {
any `collection:"notification_settings"`
BaseModelV2[NotificationSettingV2] `bson:",inline"`
Id primitive.ObjectID `json:"_id" bson:"_id"`
Type string `json:"type" bson:"type"`
Name string `json:"name" bson:"name"`
Description string `json:"description" bson:"description"`