overflow_commons_go/modules/infra/model/InfraHost.go

16 lines
340 B
Go
Raw Normal View History

2017-11-08 09:50:44 +00:00
package model
import (
"encoding/json"
2017-12-01 06:04:31 +00:00
util "git.loafle.net/overflow/overflow_commons_go/util"
2017-11-08 09:50:44 +00:00
)
type InfraHost struct {
Infra
2017-12-01 06:04:31 +00:00
InfraOS *InfraOS `json:"os,omitempty"`
IP json.Number `json:"ip,omitempty"`
Mac json.Number `json:"mac,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"`
2017-11-08 09:50:44 +00:00
}