1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-06 04:58:01 +00:00
Files
pocket-id/backend/internal/model/app_config.go
2024-08-17 21:57:14 +02:00

21 lines
506 B
Go

package model
type AppConfigVariable struct {
Key string `gorm:"primaryKey;not null" json:"key"`
Type string `json:"type"`
IsPublic bool `json:"-"`
IsInternal bool `json:"-"`
Value string `json:"value"`
}
type AppConfig struct {
AppName AppConfigVariable
BackgroundImageType AppConfigVariable
LogoImageType AppConfigVariable
SessionDuration AppConfigVariable
}
type AppConfigUpdateDto struct {
AppName string `json:"appName" binding:"required"`
}