Files
zmkgC/internal/app/system/model/do/document.go
2025-07-07 20:11:59 +08:00

31 lines
1.3 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// 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"` // 删除时间
}