overflow_commons_go/modules/infra/model/InfraHost.go
crusader 597eda88ed ing
2017-12-01 15:04:31 +09:00

16 lines
340 B
Go

package model
import (
"encoding/json"
util "git.loafle.net/overflow/overflow_commons_go/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"`
}