commons-go/model/sensor/SensorItem.go
crusader 7b089c913a ing
2018-07-04 21:13:30 +09:00

16 lines
509 B
Go

package sensor
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/meta"
)
type SensorItem struct {
ID json.Number `json:"id,Number,omitempty"`
Sensor *Sensor `json:"sensor,omitempty"`
MetaDisplayItemMapping *meta.MetaDisplayItemMapping `json:"metaDisplayItemMapping,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`
}