15 lines
374 B
Go
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"`
|
|
}
|