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

40 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-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"`
}