17 lines
703 B
Go
17 lines
703 B
Go
package usecase
|
|
|
|
import "gateway/internal/model/notification/domain/enum"
|
|
|
|
// RetryJob is the Redis ZSET member payload for async delivery (includes target; not stored in Mongo).
|
|
type RetryJob struct {
|
|
NotificationID string `json:"notification_id"`
|
|
TenantID string `json:"tenant_id"`
|
|
UID string `json:"uid,omitempty"`
|
|
Channel enum.Channel `json:"channel"`
|
|
Kind enum.NotifyKind `json:"kind"`
|
|
Target string `json:"target"`
|
|
Locale string `json:"locale"`
|
|
Data map[string]any `json:"data,omitempty"`
|
|
DoNotPersistBody bool `json:"do_not_persist_body,omitempty"`
|
|
}
|