commons-go/meta/model/MetaSensorItemKey.go

19 lines
591 B
Go
Raw Normal View History

2018-04-12 09:38:04 +00:00
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"`
}