46 lines
1.9 KiB
Go
46 lines
1.9 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model操作代码。
|
||
// 生成日期:2023-07-31 09:52:13
|
||
// 生成路径: internal/app/system/model/qianqi_xiangbian.go
|
||
// 生成人:gfast
|
||
// desc:箱变
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package model
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// QianqiXiangbianInfoRes is the golang structure for table qianqi_xiangbian.
|
||
type QianqiXiangbianInfoRes struct {
|
||
gmeta.Meta `orm:"table:qianqi_xiangbian"`
|
||
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
|
||
ModelId string `orm:"model_id" json:"modelId"` // 模型ID
|
||
Detail string `orm:"detail" json:"detail"` // 详情
|
||
SourceType string `orm:"source_type" json:"source_type"`
|
||
CreateBy string `orm:"create_by" json:"createBy"` // 创建人
|
||
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新人
|
||
Url string `orm:"url" json:"url"` // 更新人
|
||
CreateAt *gtime.Time `orm:"create_at" json:"createAt"` // 创建时间
|
||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||
}
|
||
|
||
type QianqiXiangbianListRes struct {
|
||
Id int `json:"id"`
|
||
ProjectId string `json:"projectId"`
|
||
Name string `json:"name"`
|
||
SourceId string `json:"sourceId"`
|
||
ModelId string `json:"modelId"`
|
||
Detail string `json:"detail"`
|
||
CreateAt *gtime.Time `json:"createAt"`
|
||
Url string `json:"url"`
|
||
SourceType string `json:"source_type"`
|
||
}
|