初始
This commit is contained in:
30
internal/app/system/model/do/document.go
Normal file
30
internal/app/system/model/do/document.go
Normal file
@ -0,0 +1,30 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-16 10:32:04
|
||||
// 生成路径: internal/app/system/model/entity/document.go
|
||||
// 生成人:gfast
|
||||
// desc:母板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// Document is the golang structure for table document.
|
||||
type Document struct {
|
||||
gmeta.Meta `orm:"table:document, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板路径
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
Reference in New Issue
Block a user