first commit
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
package domain
|
||||
|
||||
import "database/sql"
|
||||
import "time"
|
||||
|
||||
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"`
|
||||
ID string `db:"id" json:"id"`
|
||||
DefaultLang string `db:"default_lang"`
|
||||
RegisterEnabled bool `db:"register_enabled"`
|
||||
PasswordEnabled bool `db:"password_enabled"`
|
||||
DateCreated *time.Time `db:"_date_created" json:"_date_created"`
|
||||
DateUpdated *time.Time `db:"_date_updated" json:"_date_updated"`
|
||||
VersionId string `db:"_version" json:"_version"`
|
||||
}
|
||||
|
||||
type SettingsRepository interface {
|
||||
|
||||
Reference in New Issue
Block a user