Files
go_process_manager/internal/app/model/config.go
17689440205 460a1f428b update
2025-01-26 16:43:51 +08:00

19 lines
384 B
Go

package model
type Config struct {
Id int `gorm:"column:id;primary_key"`
Key string `gorm:"column:key"`
Value *string `gorm:"column:value"`
}
func (n *Config) TableName() string {
return "config"
}
type SystemConfigurationVo struct {
Key string `json:"key"`
Value any `json:"value"`
Default string `json:"default"`
Describe string `json:"describe"`
}