PKGBUILD/pkg/types/device.go

13 lines
329 B
Go
Raw Normal View History

2019-02-28 18:48:25 +00:00
package types
import "time"
// Device ...
type Device struct {
DeviceID string `json:"device_id"`
DeviceName string `json:"device_name"`
DeviceLocation *string `json:"device_location"`
DeviceLastContact time.Time `json:"device_last_contact"`
CreationDate time.Time `json:"creation_date"`
}