mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-14 05:03:49 +08:00
发布v2.2.10版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md
This commit is contained in:
@@ -10,9 +10,9 @@ import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Test is the golang structure of table hg_test for DAO operations like Where/Data.
|
||||
type Test struct {
|
||||
g.Meta `orm:"table:hg_test, do:true"`
|
||||
// AddonHgexampleTable is the golang structure of table hg_addon_hgexample_table for DAO operations like Where/Data.
|
||||
type AddonHgexampleTable struct {
|
||||
g.Meta `orm:"table:hg_addon_hgexample_table, do:true"`
|
||||
Id interface{} // ID
|
||||
CategoryId interface{} // 分类ID
|
||||
Flag *gjson.Json // 标签
|
||||
@@ -1,16 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// AdminRoleDept is the golang structure of table hg_admin_role_dept for DAO operations like Where/Data.
|
||||
type AdminRoleDept struct {
|
||||
g.Meta `orm:"table:hg_admin_role_dept, do:true"`
|
||||
RoleId interface{} // 角色ID
|
||||
DeptId interface{} // 部门ID
|
||||
}
|
||||
29
server/internal/model/do/sys_addons_config.go
Normal file
29
server/internal/model/do/sys_addons_config.go
Normal file
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysAddonsConfig is the golang structure of table hg_sys_addons_config for DAO operations like Where/Data.
|
||||
type SysAddonsConfig struct {
|
||||
g.Meta `orm:"table:hg_sys_addons_config, do:true"`
|
||||
Id interface{} // 配置ID
|
||||
AddonName interface{} // 插件名称
|
||||
Group interface{} // 分组
|
||||
Name interface{} // 参数名称
|
||||
Type interface{} // 键值类型:string,int,uint,bool,datetime,date
|
||||
Key interface{} // 参数键名
|
||||
Value interface{} // 参数键值
|
||||
DefaultValue interface{} // 默认值
|
||||
Sort interface{} // 排序
|
||||
Tip interface{} // 变量描述
|
||||
IsDefault interface{} // 是否为系统默认
|
||||
Status interface{} // 状态
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -23,6 +23,7 @@ type SysGenCodes struct {
|
||||
TableComment interface{} // 主表注释
|
||||
DaoName interface{} // 主表dao模型
|
||||
MasterColumns *gjson.Json // 主表字段
|
||||
AddonName interface{} // 插件名称
|
||||
Status interface{} // 生成状态
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
|
||||
Reference in New Issue
Block a user