mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Merge branch 'feat/toggle-negative-usgae' into 'development'
fix: onToggle return undefined See merge request mbugroup/lti-api!488
This commit is contained in:
@@ -5,11 +5,11 @@ import "time"
|
|||||||
const SystemSettingKeyAllowNegativePakanOVK = "allow_negative_pakan_ovk"
|
const SystemSettingKeyAllowNegativePakanOVK = "allow_negative_pakan_ovk"
|
||||||
|
|
||||||
type SystemSetting struct {
|
type SystemSetting struct {
|
||||||
Key string `gorm:"column:key;primaryKey"`
|
Key string `gorm:"column:key;primaryKey" json:"key"`
|
||||||
Value string `gorm:"column:value;not null;default:''"`
|
Value string `gorm:"column:value;not null;default:''" json:"value"`
|
||||||
Description string `gorm:"column:description"`
|
Description string `gorm:"column:description" json:"description"`
|
||||||
CreatedAt time.Time `gorm:"column:created_at;autoCreateTime"`
|
CreatedAt time.Time `gorm:"column:created_at;autoCreateTime" json:"created_at"`
|
||||||
UpdatedAt time.Time `gorm:"column:updated_at;autoUpdateTime"`
|
UpdatedAt time.Time `gorm:"column:updated_at;autoUpdateTime" json:"updated_at"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (SystemSetting) TableName() string {
|
func (SystemSetting) TableName() string {
|
||||||
|
|||||||
Reference in New Issue
Block a user