commons-go/infra/model/InfraHost.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

16 lines
331 B
Go

package model
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
)
type InfraHost struct {
Infra
InfraOS *InfraOS `json:"os,omitempty"`
IP json.Number `json:"ip,omitempty"`
Mac json.Number `json:"mac,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"`
}