mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 07:12:19 +00:00
20 lines
557 B
Go
20 lines
557 B
Go
package model
|
|
|
|
type ApplicationConfigurationVariable struct {
|
|
Key string `gorm:"primaryKey;not null" json:"key"`
|
|
Type string `json:"type"`
|
|
IsPublic bool `json:"-"`
|
|
IsInternal bool `json:"-"`
|
|
Value string `json:"value"`
|
|
}
|
|
|
|
type ApplicationConfiguration struct {
|
|
AppName ApplicationConfigurationVariable
|
|
BackgroundImageType ApplicationConfigurationVariable
|
|
LogoImageType ApplicationConfigurationVariable
|
|
}
|
|
|
|
type ApplicationConfigurationUpdateDto struct {
|
|
AppName string `json:"appName" binding:"required"`
|
|
}
|