bookDetails have ID

This commit is contained in:
SowinskiBraeden committed 2022-11-24 14:21:10 -08:00
1 parent 6bfb49512d
commit 6103b6d502
4 files changed
+8

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ type Cow struct {
// BookDetails holds the checkout details
type BookDetails struct {
ID string `json:"id" bson:"ID"` // Generated ID -> cow_id.random_str
Author string `json:"author" bson:"Author"` // User who booked
Devices []string `json:"devices" bson:"Devices"` // Array of device ID's
Block string `json:"block" bson:"Block"` // Block that is booked