Create enum & base implementation for Courses

This commit is contained in:
Stijn De Clercq 2020-10-26 01:28:07 +01:00
parent 9ce4b0947c
commit bd3c3d0745
2 changed files with 98 additions and 5 deletions

13
enums/platforms.py Normal file
View file

@ -0,0 +1,13 @@
from enum import Enum
class Platforms(Enum):
"""
An Enum to represent online class platforms
Name: The name of the platform
Rep: A shorter, lowercased & space-less version
"""
Bongo = {"name": "Bongo Virtual Classroom", "rep": "bongo"}
MSTeams = {"name": "MS Teams", "rep": "msteams"}
Ufora = {"name": "Ufora", "rep": "ufora"}
Zoom = {"name": "Zoom", "rep": "zoom"}