feat: konfigurasi sistem toggle pemakaian pakan ovk negatif

This commit is contained in:
Adnan Zahir
2026-04-28 10:51:54 +07:00
parent 1d6e1fa5be
commit 6f6541d4c1
15 changed files with 347 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
package entities
import "time"
const SystemSettingKeyAllowNegativePakanOVK = "allow_negative_pakan_ovk"
type SystemSetting struct {
Key string `gorm:"column:key;primaryKey"`
Value string `gorm:"column:value;not null;default:''"`
Description string `gorm:"column:description"`
CreatedAt time.Time `gorm:"column:created_at;autoCreateTime"`
UpdatedAt time.Time `gorm:"column:updated_at;autoUpdateTime"`
}
func (SystemSetting) TableName() string {
return "system_settings"
}