commons-go/model/target/Target.go
crusader 2b132edc08 ing
2018-07-04 20:48:13 +09:00

20 lines
679 B
Go

package target
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/infra"
"git.loafle.net/overflow/commons-go/model/meta"
)
type Target struct {
ID json.Number `json:"id,Number,omitempty"`
Infra *infra.Infra `json:"infra,omitempty"`
MetaTargetType *meta.MetaTargetType `json:"metaTargetType,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
SensorCount json.Number `json:"sensorCount,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`
}