update data structures

This commit is contained in:
SowinskiBraeden committed 2022-09-28 09:54:28 -07:00
1 parent 50822f21a7
commit f4e0335a47
2 files changed
+29 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
package models
// Device holds the structure for the Device collection in mongo
type Device struct {
ID string `json:"ID" bson:"ID"` // MongoDB ID
Type string `json:"Type" bson:"Type"` // eg. Laptop, Ipdad, etc
Code string `json:"Code" bson:"Code"` // eg. SULH-LAP-01
Parent string `json:"Parent" bson:"Parent"` // Parent cow Mongo ID
}