loefsys.reservations.models.choices module
Module containing the choice enums of the reservations app.
- class loefsys.reservations.models.choices.ReservableCategories(*values)
Bases:
IntegerChoicesThe various categories that reservables are part of.
- OTHER = 0
Used for types that do not fall under the other categories.
- BOAT = 1
Used for boat types.
- ROOM = 2
Used for room types.
- MATERIAL = 3
Used for material types.
- class loefsys.reservations.models.choices.Locations(*values)
Bases:
IntegerChoicesLocations where a reservable can be retrieved.
- OTHER = 0
Used when the other locations aren’t applicable.
- BOARDROOM = 1
Used when an item is located in the boardroom.
- BASTION = 2
Used when an item is located at the Bastion.
- KRAAIJ = 3
Used when an item is located at the Kraaijenbergse Plassen.
- class loefsys.reservations.models.choices.FleetChoices(*values)
Bases:
IntegerChoicesChoices for the fleet.
- OTHER = 0
Used for boats available from other providers.
- LOEFBIJTER = 1
Used for boats from Loefbijter.
- CEULEMANS = 2
Used for boats from Ceulemans.