mirror of
https://github.com/rishikanthc/Scriberr.git
synced 2026-07-01 08:15:46 +00:00
13 lines
412 B
Go
13 lines
412 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type SystemSetting struct {
|
|
Key string `json:"key" gorm:"primaryKey;type:varchar(100);not null"`
|
|
ValueJSON string `json:"-" gorm:"column:value_json;type:json;not null"`
|
|
CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"`
|
|
UpdatedAt time.Time `json:"updated_at" gorm:"autoUpdateTime"`
|
|
}
|
|
|
|
func (SystemSetting) TableName() string { return "system_settings" }
|