fradrive/models/tutorials.model
2020-11-19 14:25:38 +01:00

25 lines
881 B
Plaintext

Tutorial json
name TutorialName
course CourseId
type (CI Text) -- "Tutorium", "Zentralübung", ...
capacity Int Maybe -- limit for enrolment in this tutorial
room RoomReference Maybe
roomHidden Bool default=false
time Occurrences
regGroup (CI Text) Maybe -- each participant may register for one tutorial per regGroup
registerFrom UTCTime Maybe
registerTo UTCTime Maybe
deregisterUntil UTCTime Maybe
lastChanged UTCTime default=now()
tutorControlled Bool default=false
UniqueTutorial course name
deriving Generic
Tutor
tutorial TutorialId
user UserId
UniqueTutor tutorial user
TutorialParticipant
tutorial TutorialId
user UserId
UniqueTutorialParticipant tutorial user
deriving Eq Ord Show