// ========================================================================== // GFast自动生成model操作代码。 // 生成日期:2023-12-08 14:21:01 // 生成路径: internal/app/system/model/template_data.go // 生成人:gfast // desc:工程资料>资料 // company:云南奇讯科技有限公司 // ========================================================================== package model import ( "github.com/gogf/gf/v2/os/gtime" "github.com/gogf/gf/v2/util/gmeta" ) // TemplateDataInfoRes is the golang structure for table template_data. type TemplateDataInfoRes struct { gmeta.Meta `orm:"table:template_data"` Id int64 `orm:"id,primary" json:"id"` // 主键id ProjectId int64 `orm:"project_id" json:"projectId"` // 项目ID DataName string `orm:"data_name" json:"dataName"` // 名称 DataType string `orm:"data_type" json:"dataType"` // 1编写 2存储 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"` // 删除时间 } type TemplateDataListRes struct { Id int64 `json:"id"` ProjectId int64 `json:"projectId"` DataName string `json:"dataName"` DataType string `json:"dataType"` CreateBy string `json:"createBy"` UpdateBy string `json:"updateBy"` CreatedAt *gtime.Time `json:"createdAt"` }