Lorch Sports Mathias Wils English Stefanie Keller Vocals Reinhold Kneer History Tobias Puth 8:55 – 9:45 Ethics Arnold Unger Sports Mathias Wils History Tobias Puth Vocals Reinhold Kneer French Monique Perron 9:55 – 10:45 French Monique Perron English Stefanie Keller Music Heidi Sokolowski Biology Tatjana Nelles Geography Fabio Baie 10:50 – 11:40 German Julian Wellner French Monique Perron Mathematics Christiane Lorch Music Heidi Sokolowski German Julian Wellner 11:55 – 12:45 Music Heidi Sokolowski German Julian Wellner French Monique Perron English Stefanie Keller German Julian Wellner 12:50 – 13:40 Music Heidi Sokolowski - Ethics Arnold Unger Mathematics Christiane Lorch Mathematics Christiane Lorch 5c - 2017/18 International Music Highschool 1090 Vienna
absent teacher. SCENARIO: Preferredly, teachers that teach a class in another subject are chosen to substitute absent teachers. GIVEN the following teachers are assigned to teach 5c: | Teacher | Subject | | Christiane Lorch | Mathematics | | Julian Wellner | German | AND 5c has a mathematics lesson scheduled on Wednesday 10:50 to 11:40 AND Julian Wellner is reserved as substitute on Wednesday 10:50 to 11:40 WHEN Christiane Lorch reports her absence THEN Julian Wellner shall substitute Christiane Lorch on Wednesday 10:50 to 11:40 Substitute lesson Substitutes decision Teacher absence reported Teacher assigned to class Lesson scheduled for class Teacher assigned to teach class Teacher reserved as substitute
set of events happened WHEN a command executes THEN another event will happen – or not Command Consistency rules Domain event Domain event Domain event
for a specific lesson. SCENARIO: A substitute teacher must not be assigned to conflicting duties. GIVEN Julian Wellner is assigned to substitute Arnold Unger on Monday 08:00 to 08:50 WHEN Julian Wellner shall substitute Christiane Lorch on Monday 08:00 to 08:50 THEN Julian Wellner will not be assigned to substitute Christiane Lorch on Monday 08:00 to 08:50 Substitute lesson Teacher assigned to substitute Teacher assigned to substitute
a specific class. SCENARIO: A substitution is reflected in the time table for the affected class. GIVEN Christiane Lorch is assigned to teach mathematics in 5c AND 5c has a mathematics lesson scheduled on Wednesday 10:50 to 11:40 WHEN Julian Wellner substitutes Christiane Lorch on Wednesday 10:50 to 11:40 THEN 5c time table will reflect Julian Wellner as substitute on Wednesday 10:50 to 11:40 AND 5c time table will reflect a german lesson scheduled on Wednesday 10:50 to 11:40 Teacher assigned to substitute Time table Lesson scheduled for class Teacher assigned to teach class
Lorch Sports Mathias Wils English Stefanie Keller Vocals Reinhold Kneer History Tobias Puth 8:55 – 9:45 Ethics Arnold Unger Sports Mathias Wils History Tobias Puth Vocals Reinhold Kneer French Monique Perron 9:55 – 10:45 French Monique Perron English Stefanie Keller Music Heidi Sokolowski Biology Tatjana Nelles Geography Fabio Baie 10:50 – 11:40 German Julian Wellner French Monique Perron German Julian Wellner Music Heidi Sokolowski German Julian Wellner 11:55 – 12:45 Music Heidi Sokolowski German Julian Wellner French Monique Perron English Stefanie Keller German Julian Wellner 12:50 – 13:40 Music Heidi Sokolowski - Ethics Arnold Unger Mathematics Christiane Lorch Mathematics Christiane Lorch 5c - 2017/18 International Music Highschool 1090 Vienna