Compare commits

..

2 commits

Author SHA1 Message Date
b9dc7348ce Added dummy rooms 2025-06-14 17:57:15 +02:00
97a0d799d3 Added Room data type 2025-06-14 17:56:59 +02:00
2 changed files with 9 additions and 3 deletions

View file

@ -56,18 +56,24 @@ public class Model {
this.add(new Student("students/ltorva", "Linus", "Torvalds", "0006"));
this.add(new Student("students/dritch", "Dennis", "Ritchie", "0007"));
// Gruppen
// Gruppen und Beziehungen
this.add(new Group("groups/if24ws2-b", "Softwareentwicklung WiSe 24/25 Seminargruppe 2"));
this.add(new Group("groups/admins", "Administrator:innen"));
this.add(new Group("groups/alumni", "Alumni"));
this.add(new Group("groups/leer", "Leere Gruppe"));
this.addRelation("groups/if24ws2-b", "students/jotto5");
this.addRelation("groups/admins", "students/vnachn");
this.addRelation("groups/admins", "students/ltorva");
this.addRelation("groups/alumni", "students/alovel");
this.addRelation("groups/alumni", "students/aturin");
this.addRelation("groups/alumni", "students/ltorva");
// Räume (aus dem Intranet geklaut...)
this.add(new Room("rooms/2-002", "2-002", 137));
this.add(new Room("rooms/2-102", "2-102", 148));
this.add(new Room("rooms/5-119", "5-119", 209));
this.add(new Room("rooms/5-120", "5-120", 209));
this.add(new Room("rooms/online", "Virtueller Online-Raum", -1));
}
/**

View file

@ -3,7 +3,7 @@ package hsmw.jotto5.beleg.data;
/**
* Bildet einen Veranstaltungsraum ab.
*/
public abstract class Room extends DataObject {
public class Room extends DataObject {
/**
* Die maximale Personenkapazität des Raumes.