loefsys.reservations.models.choices module
Module containing the choice enums of the reservations app.
- class loefsys.reservations.models.choices.ReservableCategories(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
IntegerChoices
The 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(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
IntegerChoices
Locations 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(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
IntegerChoices
Choices 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.