1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-30 00:14:19 +00:00
pds-2021-g2-nest/code/backend/nest_backend/database/tables/Enums.py

26 lines
421 B
Python
Raw Normal View History

"""
This module contains the main enum definitions.
"""
import enum
class ConditionType(enum.Enum):
2021-05-05 17:17:32 +00:00
"""
Vedi `Specifica delle Conditions su
GitLab <https://gitlab.steffo.eu/nest/g2-progetto/-/wikis/Specifica-delle-Conditions>`_ .
"""
hashtag = 0
location = 1
time = 2
2021-05-05 17:17:32 +00:00
coordinates = 3
place = 4
class OperationType(enum.Enum):
_and = 0
_or = 1
_not = 2
assign = 3