-
Notifications
You must be signed in to change notification settings - Fork 12
Data model
## Events, Series and Organisational Units
These are the names of the models in the back-end. They contain the information to list and categorise events in the application.
### Events
An event is a singular unit that contains information about an event. It contains:
- some basic information such as a
displayName,description,notes, ... - when the event takes place (
startandenddates) - where it takes place (
location) - by whom it's organised (
organisers)
A series lists events that logically belong together. In the case of a timetable application, this could be a workshop that's held every Tuesday at 10 in the first term.
It has basic information such as a displayName and a description but most importantly groups the correct events
### Organisational units
These are used to provide (hierarchical) structure to the series and events. Each organisational unit can contain multiple series and/or events.
For example, the timetable application has identified the following types of organisational units:
- course
- subject (optional)
- part
- module
These organisational units all nest into each other. Meaning that a course can have multiple subjects, a subject can have multiple parts and a part can have multiple modules.
For example, a course with a subject could be modelled as such:
- Asian and Middle Eastern Studies (
course)- Chinese Studies (
subject)- Part IA (
part)- C.4 Modern Chinese Translation and writing (
module)- Chinese writing (
series)- Thursday Oct 22 (
event) - Thursday Oct 29 (
event)
- Thursday Oct 22 (
- Chinese translation (
series)- Thursday Oct 20 (
event) - Thursday Oct 27 (
event)
- Thursday Oct 20 (
- Chinese writing (
- C.4 Modern Chinese Translation and writing (
- Part IA (
- Chinese Studies (
Most courses don't need subjects however and can be modelled like so:
- Archaeology
(course)- MPhil
(part)- GO1. Research Skills
(module)- Field trip skills
(series)- Wednesday Nov 2
(event) - Thursday Nov 3
(event)
- Wednesday Nov 2
- Seminar skills
(series)- Friday Nov 11
(event) - Wednesday Nov 16
(event)
- Friday Nov 11
- Field trip skills
- GO1. Research Skills
- MPhil