Files
gochat/internal/model/installation_config.go
T
2026-06-04 15:44:48 +08:00

12 lines
461 B
Go

package model
// InstallationConfig represents a global installation configuration key-value pair.
// Reference: Chatwoot InstallationConfig model — super-admin managed settings
// (DISPLAY_MANIFEST, APP_CONFIG, etc.)
type InstallationConfig struct {
Base
Name string `gorm:"uniqueIndex;size:100;not null" json:"name"`
Value string `gorm:"type:text;not null" json:"value"`
}
func (InstallationConfig) TableName() string { return "installation_configs" }