19 lines
371 B
Go
19 lines
371 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
"encoding/json"
|
||
|
|
||
|
"git.loafle.net/overflow/commons-go/core/util"
|
||
|
)
|
||
|
|
||
|
type Host struct {
|
||
|
Zone *Zone `json:"zone"`
|
||
|
|
||
|
ID json.Number `json:"id,Number,omitempty"`
|
||
|
IP string `json:"ip,omitempty"`
|
||
|
Mac string `json:"mac,omitempty"`
|
||
|
OS string `json:"os,omitempty"`
|
||
|
|
||
|
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
||
|
}
|