# Constants
Admins can: - Manage/Modify assigned business - Use reservation system for their business - Manage/Modify Cows & Devices for their business - Create Users & assign to their business - Promote Users to Admins in their business.
SuperUsers can: - Create/Delete/Modify businesses - Create/Delete/Modify Admins & Users - Assign Admins & Users to businesses.
Users can: - Use reservation system for their business.
# Structs
BookDetails holds the checkout details.
No description provided by the author
Cow holds the structure for the cow collection in mongo.
CowDetails holds the structure for the inner cow structure as defined in the cow collection in mongo.
Device holds the structure for the device collection in mongo.
Device holds the structure for the Device collection in mongo.
ErrorMessageResponse returns the error message response struct.
HealthCheckResponse returns the health check response duh.
MessageError contains the inner details for the error message response.
NewDeviceToCow is to add device object id to cow.
Query for search queries by name.
No description provided by the author
No description provided by the author
UserResponse is a general response structure with a status, message and optional json data.