2024-09-17 06:50:05 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import "gorm.io/datatypes"
|
|
|
|
|
2024-10-13 04:36:51 +00:00
|
|
|
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"`
|
|
|
|
}
|