mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-11 20:43:44 +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:
@@ -9,8 +9,8 @@ import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Test is the golang structure for table test.
|
||||
type Test struct {
|
||||
// AddonHgexampleTable is the golang structure for table addon_hgexample_table.
|
||||
type AddonHgexampleTable struct {
|
||||
Id int64 `json:"id" description:"ID"`
|
||||
CategoryId int64 `json:"categoryId" description:"分类ID"`
|
||||
Flag *gjson.Json `json:"flag" description:"标签"`
|
@@ -1,11 +0,0 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// AdminRoleDept is the golang structure for table admin_role_dept.
|
||||
type AdminRoleDept struct {
|
||||
RoleId int64 `json:"roleId" description:"角色ID"`
|
||||
DeptId int64 `json:"deptId" description:"部门ID"`
|
||||
}
|
27
server/internal/model/entity/sys_addons_config.go
Normal file
27
server/internal/model/entity/sys_addons_config.go
Normal file
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysAddonsConfig is the golang structure for table sys_addons_config.
|
||||
type SysAddonsConfig struct {
|
||||
Id int64 `json:"id" description:"配置ID"`
|
||||
AddonName string `json:"addonName" description:"插件名称"`
|
||||
Group string `json:"group" description:"分组"`
|
||||
Name string `json:"name" description:"参数名称"`
|
||||
Type string `json:"type" description:"键值类型:string,int,uint,bool,datetime,date"`
|
||||
Key string `json:"key" description:"参数键名"`
|
||||
Value string `json:"value" description:"参数键值"`
|
||||
DefaultValue string `json:"defaultValue" description:"默认值"`
|
||||
Sort int `json:"sort" description:"排序"`
|
||||
Tip string `json:"tip" description:"变量描述"`
|
||||
IsDefault int `json:"isDefault" description:"是否为系统默认"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||||
}
|
@@ -21,6 +21,7 @@ type SysGenCodes struct {
|
||||
TableComment string `json:"tableComment" description:"主表注释"`
|
||||
DaoName string `json:"daoName" description:"主表dao模型"`
|
||||
MasterColumns *gjson.Json `json:"masterColumns" description:"主表字段"`
|
||||
AddonName string `json:"addonName" description:"插件名称"`
|
||||
Status int `json:"status" description:"生成状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||||
|
Reference in New Issue
Block a user