19 lines
591 B
Go
19 lines
591 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
"encoding/json"
|
||
|
|
||
|
"git.loafle.net/overflow/commons-go/core/util"
|
||
|
)
|
||
|
|
||
|
type MetaSensorItemKey struct {
|
||
|
ID json.Number `json:"id,Number,omitempty"`
|
||
|
Item *MetaSensorItem `json:"item,omitempty"`
|
||
|
Key string `json:"key,omitempty"`
|
||
|
Froms string `json:"froms,omitempty"`
|
||
|
Option string `json:"option,omitempty"`
|
||
|
Crawler *MetaCrawler `json:"crawler,omitempty"`
|
||
|
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
||
|
Unit *MetaSensorItemUnit `json:"unit,omitempty"`
|
||
|
}
|