16 lines
340 B
Go
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"`
|
|
}
|