overflow_commons_go/modules/infra/model/InfraHost.go
2017-11-08 18:50:44 +09:00

15 lines
374 B
Go

package model
import (
"git.loafle.net/overflow/overflow_commons_go/modules/timestamp/model"
"encoding/json"
)
type InfraHost struct {
Infra
InfraOS *InfraOS `json:"os,omitempty"`
Ip json.Number `json:"ip,omitempty"`
Mac json.Number `json:"mac,omitempty"`
CreateDate timestamp.Timestamp `json:"createDate,omitempty"`
}