60 lines
2.9 KiB
Go
60 lines
2.9 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model操作代码。
|
||
// 生成日期:2023-08-08 10:08:24
|
||
// 生成路径: internal/app/system/model/qianqi_pingchang.go
|
||
// 生成人:gfast
|
||
// desc:平场数据
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package model
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// QianqiPingchangInfoRes is the golang structure for table qianqi_pingchang.
|
||
type QianqiPingchangInfoRes struct {
|
||
gmeta.Meta `orm:"table:qianqi_pingchang"`
|
||
Id uint64 `orm:"id,primary" json:"id"` //
|
||
CreateAt *gtime.Time `orm:"create_at" json:"createAt"` //
|
||
UpdateAt *gtime.Time `orm:"update_at" json:"updateAt"` //
|
||
DeleteAt *gtime.Time `orm:"delete_at" json:"deleteAt"` //
|
||
ProjectId string `orm:"project_id" json:"projectId"` // '项目id'
|
||
PcId string `orm:"pc_id" json:"pcId"` // '平场id'
|
||
PcName string `orm:"pc_name" json:"pcName"` // '平场范围名称'
|
||
GridWidth float64 `orm:"grid_width" json:"gridWidth"` // '采点精度'
|
||
Progress float64 `orm:"progress" json:"progress"` // '计算进度'
|
||
Range string `orm:"range" json:"range"` // '平场范围'
|
||
Points string `orm:"points" json:"points"` // '平滑处理前的高程点'
|
||
SmoothPoints string `orm:"smooth_points" json:"smoothPoints"` // '平滑处理后的高程点'
|
||
Shp string `orm:"shp" json:"shp"` // '经过计算生成的shp文件'
|
||
Area float64 `orm:"area" json:"area"` // '面积'
|
||
Cut float64 `orm:"cut" json:"cut"` // '挖方'
|
||
Fill float64 `orm:"fill" json:"fill"` // '填方'
|
||
Total float64 `orm:"total" json:"total"` // '挖填平衡值'
|
||
Imported int `orm:"imported" json:"imported"` // '是否为导入的值'
|
||
}
|
||
|
||
type QianqiPingchangListRes struct {
|
||
Id uint64 `json:"id"`
|
||
CreateAt *gtime.Time `json:"createAt"`
|
||
UpdateAt *gtime.Time `json:"updateAt"`
|
||
DeleteAt *gtime.Time `json:"deleteAt"`
|
||
ProjectId string `json:"projectId"`
|
||
PcId string `json:"pcId"`
|
||
PcName string `json:"pcName"`
|
||
GridWidth float64 `json:"gridWidth"`
|
||
Progress float64 `json:"progress"`
|
||
Range string `json:"range"`
|
||
Points string `json:"points"`
|
||
SmoothPoints string `json:"smoothPoints"`
|
||
Shp string `json:"shp"`
|
||
Area float64 `json:"area"`
|
||
Cut float64 `json:"cut"`
|
||
Fill float64 `json:"fill"`
|
||
Total float64 `json:"total"`
|
||
Imported int `json:"imported"`
|
||
}
|