commons-go/model/meta/MetaSensorDisplayItem.go

17 lines
484 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package meta
2018-04-12 09:38:04 +00:00
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
)
type MetaSensorDisplayItem struct {
ID json.Number `json:"id,Number,omitempty"`
Name string `json:"name,omitempty"`
Crawler *MetaCrawler `json:"crawler,omitempty"`
Unit *MetaSensorItemUnit `json:"unit,omitempty"`
2018-05-11 02:24:21 +00:00
CreateDate *util.Timestamp `json:"createDate,omitempty"`
2018-04-12 09:38:04 +00:00
ItemType *MetaSensorItemType `json:"itemType,omitempty"`
}