2022-09-23 04:17:03 +00:00
|
|
|
package jsmodel
|
2022-09-23 03:13:14 +00:00
|
|
|
|
2022-09-23 04:17:03 +00:00
|
|
|
// PushNotification ...
|
|
|
|
type PushNotification struct {
|
2022-09-23 07:47:00 +00:00
|
|
|
User string `json:"user"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
TargetID string `json:"targetId"`
|
|
|
|
IsFromAdmin bool `json:"isFromAdmin"`
|
|
|
|
Category string `json:"category"`
|
|
|
|
Options NotificationOptions `json:"options"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// NotificationOptions ...
|
|
|
|
type NotificationOptions struct {
|
|
|
|
Title string `json:"title"`
|
|
|
|
Content string `json:"content"`
|
2022-09-23 03:13:14 +00:00
|
|
|
}
|