16 lines
427 B
Go
16 lines
427 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"`
|
|
MetaSensorItem *meta.MetaSensorItem `json:"item,omitempty"`
|
|
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
|
}
|