重构一下数据库
This commit is contained in:
23
Backend/internal/model/do/forum_sections.go
Normal file
23
Backend/internal/model/do/forum_sections.go
Normal 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 // 更新时间
|
||||
}
|
||||
Reference in New Issue
Block a user