17 lines
451 B
Go
17 lines
451 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
|
||
|
"git.loafle.net/overflow/overflow_commons_go/modules/timestamp/model"
|
||
|
"encoding/json"
|
||
|
)
|
||
|
|
||
|
type Service struct {
|
||
|
Id json.Number `json:"id,Number,omitempty"`
|
||
|
Port *Port `json:"port,omitempty"`
|
||
|
PortType string `json:"portType,omitempty"`
|
||
|
ServiceName string `json:"serviceName,omitempty"`
|
||
|
UpdateDate timestamp.Timestamp `json:"updateDate,omitempty"`
|
||
|
Target bool `json:"target,omitempty"`
|
||
|
|
||
|
}
|