Files
zmkgC/internal/app/system/model/qianqi_redline.go

42 lines
1.8 KiB
Go
Raw Permalink Normal View History

2025-07-07 20:11:59 +08:00
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-07-31 11:45:12
// 生成路径: internal/app/system/model/qianqi_redline.go
// 生成人gfast
// desc:红线
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// QianqiRedlineInfoRes is the golang structure for table qianqi_redline.
type QianqiRedlineInfoRes struct {
gmeta.Meta `orm:"table:qianqi_redline"`
Id int `orm:"id,primary" json:"id"` // 序号
ProjectId string `orm:"project_id" json:"projectId"` // 项目id
Name string `orm:"name" json:"name"` // 名称
SourceId string `orm:"source_id" json:"sourceId"` // 资源ID
SourcePath string `orm:"source_path" json:"sourcePath"` // 资源路径
CreateBy string `orm:"create_by" json:"createBy"` // 创建人
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新人
SourceType string `orm:"source_type" json:"source_type"` // 更新人
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 QianqiRedlineListRes struct {
Id int `json:"id"`
ProjectId string `json:"projectId"`
Name string `json:"name"`
SourceId string `json:"sourceId"`
SourcePath string `json:"sourcePath"`
CreatedAt *gtime.Time `json:"createdAt"`
SourceType string `json:"source_type"`
}