Passport/pkg/authkit/models/preferences.go

20 lines
458 B
Go
Raw Normal View History

2024-09-17 06:50:05 +00:00
package models
import "gorm.io/datatypes"
type PreferenceAuth struct {
BaseModel
Config datatypes.JSONType[AuthConfig] `json:"config"`
AccountID uint `json:"account_id"`
Account Account `json:"account"`
}
2024-09-17 06:50:05 +00:00
type PreferenceNotification struct {
BaseModel
Config datatypes.JSONMap `json:"config"`
AccountID uint `json:"account_id"`
Account Account `json:"account"`
}