20 lines
679 B
Go
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"`
|
|
}
|