初始
This commit is contained in:
33
internal/app/system/model/document_project.go
Normal file
33
internal/app/system/model/document_project.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// 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"` // 删除时间
|
||||
}
|
Reference in New Issue
Block a user