重构一下数据库

This commit is contained in:
2026-01-18 20:35:21 +08:00
parent 485307e7de
commit ff4e069a7e
20 changed files with 477 additions and 131 deletions

View File

@@ -0,0 +1,23 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// ForumSections is the golang structure of table forum_sections for DAO operations like Where/Data.
type ForumSections struct {
g.Meta `orm:"table:forum_sections, do:true"`
Id any // 频道/分区ID主键
Name any // 频道名称
Description any // 频道简介
Icon any // 频道图标URL
Status any // 状态normal=正常 hidden=隐藏 deleted=删除
DisplayOrder any // 排序值(越大越靠前)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}