feat: Add template field to NotificationSettingV2 model

This commit is contained in:
Marvin Zhang
2024-07-13 10:03:24 +08:00
parent 3a03ac63dc
commit 16ac26ef0c
2 changed files with 5 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ type NotificationSettingV2 struct {
Enabled bool `json:"enabled" bson:"enabled"`
Global bool `json:"global" bson:"global"`
Title string `json:"title,omitempty" bson:"title,omitempty"`
Template string `json:"template" bson:"template"`
TemplateMode string `json:"template_mode" bson:"template_mode"`
TemplateMarkdown string `json:"template_markdown,omitempty" bson:"template_markdown,omitempty"`
TemplateRichText string `json:"template_rich_text,omitempty" bson:"template_rich_text,omitempty"`