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

56 lines
2.5 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操作代码。
// 生成日期2024-03-15 10:25:00
// 生成路径: internal/app/system/model/document_completion.go
// 生成人gfast
// desc:竣工图
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// DocumentCompletionInfoRes is the golang structure for table document_completion.
type DocumentCompletionInfoRes struct {
gmeta.Meta `orm:"table:document_completion"`
Id int64 `orm:"id,primary" json:"id"` //
IdStr string `orm:"id_str" json:"idStr"` // 模板id
Pid string `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文件夹
Suffix string `orm:"suffix" json:"suffix"` // 后缀
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"` // 删除时间
ProjectId int64 `orm:"project_id" json:"projectId"` // 项目id
State string `orm:"state" json:"state" dc:"状态1未读、2拒绝、3通过、4无需审核"`
Remark string `orm:"remark" json:"remark" dc:"拒绝原因"`
FilenPathCoding string `orm:"filenPathCoding" json:"filenPathCoding"`
}
type DocumentCompletionListRes struct {
Id int64 `json:"id"`
IdStr string `json:"idStr"`
Pid string `json:"pid"`
Name string `json:"name"`
FilenPath string `json:"filenPath"`
Type string `json:"type"`
Suffix string `json:"suffix"`
CreateBy string `json:"createBy"`
UpdateBy string `json:"updateBy"`
CreatedAt *gtime.Time `json:"createdAt"`
ProjectId int64 `json:"projectId"`
State string `json:"state" dc:"状态1未读、2拒绝、3通过、4无需审核"`
Remark string `json:"remark" dc:"拒绝原因"`
FilenPathCoding string `json:"filenPathCoding"`
}