20 lines
736 B
Go
20 lines
736 B
Go
|
package meta
|
||
|
|
||
|
import (
|
||
|
"encoding/json"
|
||
|
|
||
|
"git.loafle.net/overflow/model/util"
|
||
|
)
|
||
|
|
||
|
type MetaSensorItemKey struct {
|
||
|
ID json.Number `json:"id,Number,omitempty"`
|
||
|
Key string `json:"key,omitempty"`
|
||
|
Name string `json:"name,omitempty"`
|
||
|
Froms string `json:"froms,omitempty"`
|
||
|
Option string `json:"option,omitempty"`
|
||
|
MetaSensorItem *MetaSensorItem `json:"metaSensorItem,omitempty"`
|
||
|
MetaCrawler *MetaCrawler `json:"metaCrawler,omitempty"`
|
||
|
MetaSensorItemUnit *MetaSensorItemUnit `json:"metaSensorItemUnit,omitempty"`
|
||
|
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||
|
}
|