Devices endpoint reports field last_checkin for each device.

This commit is contained in:
Mosen
2016-06-22 19:25:00 +10:00
parent 4d744fef03
commit 68e86c16b4
2 changed files with 2 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ var (
serial_number,
os_version,
product_name,
last_checkin,
dep_profile_status,
model,
workflow_uuid

View File

@@ -38,6 +38,7 @@ type Device struct {
DEPProfilePushTime *time.Time `json:"dep_profile_push_time,omitempty" db:"dep_profile_push_time"`
DEPProfileAssignedDate *time.Time `json:"dep_profile_assigned_date,omitempty" db:"dep_profile_assigned_date"`
DEPProfileAssignedBy string `json:"dep_profile_assigned_by,omitempty" db:"dep_profile_assigned_by"`
LastCheckin *time.Time `json:"last_checkin" db:"last_checkin"`
}
// DEPProfileStatus is the status of the DEP Profile