Files
zmkgC/internal/app/system/model/entity/document.go

31 lines
1.3 KiB
Go
Raw Permalink Normal View History

2025-07-07 20:11:59 +08:00
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-09-16 10:32:04
// 生成路径: internal/app/system/model/entity/document.go
// 生成人gfast
// desc:母板
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int `orm:"id,primary" json:"id"` // 序号
Pid int64 `orm:"pid" json:"pid"` // 父级0代表顶级
Name string `orm:"name" json:"name"` // 模板名称
FilenPath string `orm:"filen_path" json:"filenPath"` // 模板路径
Type string `orm:"type" json:"type"` // 类型1文件-2文件夹
CreateBy string `orm:"create_by" json:"createBy"` // 创建人
UpdateBy string `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"` // 删除时间
}