初始
This commit is contained in:
46
internal/app/system/model/qianqi_nibianqi.go
Normal file
46
internal/app/system/model/qianqi_nibianqi.go
Normal file
@ -0,0 +1,46 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model操作代码。
|
||||
// 生成日期:2023-07-31 09:40:17
|
||||
// 生成路径: internal/app/system/model/qianqi_nibianqi.go
|
||||
// 生成人:gfast
|
||||
// desc:逆变器
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// QianqiNibianqiInfoRes is the golang structure for table qianqi_nibianqi.
|
||||
type QianqiNibianqiInfoRes struct {
|
||||
gmeta.Meta `orm:"table:qianqi_nibianqi"`
|
||||
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"` // 地图上的参数信息
|
||||
Xiangbianid string `orm:"xiangbianid" json:"xiangbianid"` // 箱变id
|
||||
CreateBy string `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新人
|
||||
SourceType string `orm:"source_type" json:"source_type"`
|
||||
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 QianqiNibianqiListRes 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"`
|
||||
Xiangbianid string `json:"xiangbianid"`
|
||||
CreateAt *gtime.Time `json:"createAt"`
|
||||
SourceType string `json:"source_type"`
|
||||
Url string `json:"url"`
|
||||
}
|
Reference in New Issue
Block a user