commons-go/sensor/model/SensorItem.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

16 lines
431 B
Go

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