package model

// SystemSettings stores configurable platform level options grouped as JSON blobs
// to allow flexible schema evolution without database migrations for every toggle.
type SystemSettings struct {
	Base
	Version        uint64 `gorm:"not null;default:1" json:"version"`
	Platform       JSONB  `gorm:"type:json" json:"platform"`
	Authentication JSONB  `gorm:"type:json" json:"authentication"`
	Notifications  JSONB  `gorm:"type:json" json:"notifications"`
	DataSync       JSONB  `gorm:"type:json" json:"data_sync"`
	UpdatedBy      *uint64
}
