system-pri/backend/app/base/mode.py

23 lines
599 B
Python

from enum import Enum
class ModeGroups(str, Enum):
STATIONARY = "s"
NON_STATIONARY = "n"
ENGLISH_SPEAKING_STATIONARY = "e"
class EnrollmentsMode(str, Enum):
"""
What means specific values?:
INIT - project supervisor set your availability time for this examination
schedule, students cannot use examination schedule
OPEN - students can assign to term of defence, project supervisor cannot
use examination schedule
CLOSE - students and project supervisor cannot use examination schedule
"""
INIT = "i"
OPEN = "o"
CLOSE = "c"