mirror of
https://github.com/PengZhangs2017582/novel.git
synced 2025-06-25 03:31:30 +08:00
initial commit
This commit is contained in:
22
internal/model/do/category.go
Normal file
22
internal/model/do/category.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// Category is the golang structure of table nv_category for DAO operations like Where/Data.
|
||||
type Category struct {
|
||||
g.Meta `orm:"table:nv_category, do:true"`
|
||||
Id interface{} //
|
||||
Name interface{} // 分类名称
|
||||
ParentId interface{} // 父级id
|
||||
CateType interface{} // 分类类型:1-主题,2-角色,3-情节
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
Reference in New Issue
Block a user