Files
go_process_manager/model/config.go
liuzhihang1 831ea9889f 初次提交
2024-06-26 20:45:23 +08:00

19 lines
383 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 SystemConfigurationResp struct {
Key string `json:"key"`
Value any `json:"value"`
Default string `json:"default"`
Describe string `json:"describe"`
}