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