2024-08-17 21:57:14 +02:00
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
type AppConfigVariable struct {
|
2024-08-23 17:04:19 +02:00
|
|
|
Key string `gorm:"primaryKey;not null"`
|
|
|
|
|
Type string
|
|
|
|
|
IsPublic bool
|
|
|
|
|
IsInternal bool
|
|
|
|
|
Value string
|
2024-08-17 21:57:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AppConfig struct {
|
|
|
|
|
AppName AppConfigVariable
|
|
|
|
|
BackgroundImageType AppConfigVariable
|
|
|
|
|
LogoImageType AppConfigVariable
|
|
|
|
|
SessionDuration AppConfigVariable
|
2024-09-09 10:29:41 +02:00
|
|
|
|
|
|
|
|
EmailEnabled AppConfigVariable
|
|
|
|
|
SmtpHost AppConfigVariable
|
|
|
|
|
SmtpPort AppConfigVariable
|
|
|
|
|
SmtpFrom AppConfigVariable
|
|
|
|
|
SmtpUser AppConfigVariable
|
|
|
|
|
SmtpPassword AppConfigVariable
|
2024-08-17 21:57:14 +02:00
|
|
|
}
|