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

34 lines
1.6 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操作代码。
// 生成日期2023-09-16 10:32:03
// 生成路径: internal/app/system/model/document_project.go
// 生成人gfast
// desc:项目模板
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// DocumentProjectInfoRes is the golang structure for table document_project.
type DocumentProjectInfoRes struct {
gmeta.Meta `orm:"table:document_project"`
Id int64 `orm:"id,primary" json:"id"` // 序号
IdStr string `orm:"id_str" json:"idStr"` // 父级0代表顶级
Pid string `orm:"pid" json:"pid"` // 父级0代表顶级
Name string `orm:"name" json:"name"` // 模板名称
FilePath string `orm:"file_path" json:"filePath"` // 模板路径
Type string `orm:"type" json:"type"` // 类型1文件-2文件夹
Json string `orm:"json" json:"json"` // 保存后的json文件名
ProjectId int64 `orm:"project_id" json:"projectId"` // 项目id
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"` // 删除时间
}