model/meta/MetaSensorDisplayItem.go

19 lines
682 B
Go
Raw Permalink Normal View History

2018-08-12 10:46:46 +00:00
package meta
import (
"encoding/json"
"git.loafle.net/overflow/model/util"
)
type MetaSensorDisplayItem struct {
ID json.Number `json:"id,Number,omitempty"`
Key string `json:"key,omitempty"`
Name string `json:"name,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
MetaCrawler *MetaCrawler `json:"metaCrawler,omitempty"`
MetaSensorItemUnit *MetaSensorItemUnit `json:"metaSensorItemUnit,omitempty"`
MetaSensorItemType *MetaSensorItemType `json:"metaSensorItemType,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`
}