2024-08-12 11:00:25 +02:00
|
|
|
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
|
2024-08-13 20:51:10 +02:00
|
|
|
SessionDuration ApplicationConfigurationVariable
|
2024-08-12 11:00:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ApplicationConfigurationUpdateDto struct {
|
|
|
|
|
AppName string `json:"appName" binding:"required"`
|
|
|
|
|
}
|