First release of open core
This commit is contained in:
15
pkg/domain/config.go
Normal file
15
pkg/domain/config.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package domain
|
||||
|
||||
type AppConfig struct {
|
||||
Timezone string `json:"timezone"`
|
||||
BusinessStart int `json:"business_start"`
|
||||
BusinessEnd int `json:"business_end"`
|
||||
DefaultExtensionDays int `json:"default_extension_days"`
|
||||
Backup BackupPolicy `json:"backup"`
|
||||
}
|
||||
|
||||
type BackupPolicy struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
IntervalHours int `json:"interval_hours"`
|
||||
RetentionDays int `json:"retention_days"`
|
||||
}
|
||||
Reference in New Issue
Block a user