commons-go/model/infra/InfraHostPort.go

17 lines
490 B
Go
Raw Normal View History

2018-06-12 09:18:11 +00:00
package infra
import (
"encoding/json"
2018-06-12 13:13:22 +00:00
2018-06-12 09:18:11 +00:00
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/meta"
)
type InfraHostPort struct {
2018-06-12 13:13:22 +00:00
ID json.Number `json:"id,Number,omitempty"`
2018-06-15 04:10:12 +00:00
InfraHostIP *InfraHostIP `json:"infraHostIP,omitempty"`
2018-06-12 13:13:22 +00:00
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
Port json.Number `json:"port,Number,omitempty"`
CreateDate *util.Timestamp `json:"createDate,omitempty"`
2018-06-12 09:18:11 +00:00
}