mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
feat: added models
This commit is contained in:
@@ -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"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user