feat: added models

This commit is contained in:
Marvin Zhang
2024-07-11 14:42:57 +08:00
parent aca0c0ebce
commit 7b0cd9da9f

View File

@@ -1,4 +1,8 @@
package models package models
type NotificationChannel struct { type NotificationChannelV2 struct {
any `collection:"notification_channels"`
BaseModelV2[NotificationChannelV2] `bson:",inline"`
Name string `json:"name" bson:"name"`
Type string `json:"type" bson:"type"`
} }