renommage lassistanoque
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package domain
|
||||
|
||||
import "database/sql"
|
||||
|
||||
type Settings struct {
|
||||
ChatModelID sql.NullString `db:"chat_model_id"`
|
||||
DefaultLang string `db:"default_lang"`
|
||||
RegisterEnabled bool `db:"register_enabled"`
|
||||
PasswordEnabled bool `db:"password_enabled"`
|
||||
VersionId string `db:"_version"`
|
||||
}
|
||||
|
||||
type SettingsRepository interface {
|
||||
GetSettings() (*Settings, error)
|
||||
UpdateSettings(config *Settings) (*Settings, error)
|
||||
}
|
||||
Reference in New Issue
Block a user