update/update-locker-combo

This commit is contained in:
SowinskiBraeden committed 2022-01-15 12:09:23 -08:00
1 parent 4513b6389e
commit 0bf3910a20
2 files changed
+76 -5

No files matched your search

+11 -5
View File
@@ -1,10 +1,16 @@
package models
import "go.mongodb.org/mongo-driver/bson/primitive"
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
type Locker struct {
ID primitive.ObjectID `bson:"_id"`
LockerNumber string `json:"lockernumber"` // Example B123
LockerPasscode string `json:"lockerpasscode"`
LockerType string `json:"lockertype"` // Upper / Lower locker
ID primitive.ObjectID `bson:"_id"`
LockerNumber string `json:"lockernumber"` // Example B123
LockerCombo string `json:"lockercombo"`
LockerType string `json:"lockertype"` // Upper / Lower locker
Created_at time.Time `json:"created_at"`
Updated_at time.Time `json:"updated_at"`
}