You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
909 B
25 lines
909 B
package common_models
|
|
|
|
import "time"
|
|
|
|
// EsGroupTheme 分组主题数据结构体
|
|
type EsGroupTheme struct {
|
|
StructId int `json:"struct_id"`
|
|
GroupId int `json:"group_id"`
|
|
GroupName string `json:"group_name"`
|
|
GroupType string `json:"group_type"`
|
|
TaskId string `json:"task_id"`
|
|
CorrItems []StationGroupInfo `json:"corr_items"`
|
|
Data []CorrItemData `json:"data"`
|
|
CollectTime time.Time `json:"collect_time"`
|
|
CreateTime time.Time `json:"create_time"`
|
|
}
|
|
|
|
// 级联测点数据
|
|
type CorrItemData struct {
|
|
StationId int `json:"station_id"`
|
|
StationName string `json:"station_name"`
|
|
IsBase *bool `json:"is_base,omitempty"`
|
|
PhyData map[string]interface{} `json:"phy_data"`
|
|
ThemeData map[string]interface{} `json:"theme_data"`
|
|
}
|
|
|