ing
This commit is contained in:
parent
2b132edc08
commit
7b089c913a
|
@ -9,13 +9,13 @@ import (
|
|||
)
|
||||
|
||||
type Sensor struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Target *target.Target `json:"target,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
MetaSensorStatus *meta.MetaSensorStatus `json:"metaSensorStatus,omitempty"`
|
||||
MetaCrawler *meta.MetaCrawler `json:"metaCrawler,omitempty"`
|
||||
CrawlerInputItems string `json:"crawlerInputItems,omitempty"`
|
||||
ItemCount json.Number `json:"itemCount,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Target *target.Target `json:"target,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
MetaSensorStatus *meta.MetaSensorStatus `json:"metaSensorStatus,omitempty"`
|
||||
MetaCrawlerMapping *meta.MetaCrawlerMapping `json:"metaCrawlerMapping,omitempty"`
|
||||
CrawlerInputItems string `json:"crawlerInputItems,omitempty"`
|
||||
ItemCount json.Number `json:"itemCount,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Interval json.Number `json:"interval,Number,omitempty"`
|
||||
}
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
)
|
||||
|
||||
type SensorItem struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Sensor *Sensor `json:"sensor,omitempty"`
|
||||
MetaSensorItem *meta.MetaSensorItem `json:"metaSensorItem,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Sensor *Sensor `json:"sensor,omitempty"`
|
||||
MetaDisplayItemMapping *meta.MetaDisplayItemMapping `json:"metaDisplayItemMapping,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
package sensor
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"git.loafle.net/overflow/commons-go/model/meta"
|
||||
)
|
||||
|
||||
type SensorItemDependency struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
MetaSensorDisplayItem *meta.MetaSensorDisplayItem `json:"metaSensorDisplayItem,omitempty"`
|
||||
MetaSensorItemKey *meta.MetaSensorItemKey `json:"metaSensorItemKey,omitempty"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user