Initial commit (code only without large binaries)
This commit is contained in:
22
EdgeAPI/internal/db/models/sys_setting_model.go
Normal file
22
EdgeAPI/internal/db/models/sys_setting_model.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package models
|
||||
|
||||
import "github.com/iwind/TeaGo/dbs"
|
||||
|
||||
// SysSetting 系统配置
|
||||
type SysSetting struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
UserId uint32 `field:"userId"` // 用户ID
|
||||
Code string `field:"code"` // 代号
|
||||
Value dbs.JSON `field:"value"` // 配置值
|
||||
}
|
||||
|
||||
type SysSettingOperator struct {
|
||||
Id any // ID
|
||||
UserId any // 用户ID
|
||||
Code any // 代号
|
||||
Value any // 配置值
|
||||
}
|
||||
|
||||
func NewSysSettingOperator() *SysSettingOperator {
|
||||
return &SysSettingOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user