Fixed dummy data creation

This commit is contained in:
joss 2025-05-19 11:36:54 +02:00
parent f64e4cb794
commit 50f80d3397

View file

@ -49,22 +49,22 @@ public class Model {
Group g1, g2, g3; Group g1, g2, g3;
// Studierende // Studierende
new Student("students/jotto5", "Jocelyn", "Otto").bind(this); this.add(new Student("students/jotto5", "Jocelyn", "Otto"));
new Student("students/vnachn", "Vorname", "Nachname").bind(this); this.add(new Student("students/vnachn", "Vorname", "Nachname"));
new Student("students/alovel", "Ada", "Lovelace").bind(this); this.add(new Student("students/alovel", "Ada", "Lovelace"));
new Student("students/aturin", "Alan", "Turing").bind(this); this.add(new Student("students/aturin", "Alan", "Turing"));
new Student("students/dknuth", "Donald", "Knuth").bind(this); this.add(new Student("students/dknuth", "Donald", "Knuth"));
new Student("students/ltorva", "Linus", "Torvalds").bind(this); this.add(new Student("students/ltorva", "Linus", "Torvalds"));
new Student("students/dritch", "Dennis", "Ritchie").bind(this); this.add(new Student("students/dritch", "Dennis", "Ritchie"));
// Gruppen // Gruppen
g1 = new Group("groups/IF24wS2-B", "Softwareentwicklung WiSe 24/25 Seminargruppe 2"); g1 = new Group("groups/IF24wS2-B", "Softwareentwicklung WiSe 24/25 Seminargruppe 2");
g2 = new Group("groups/admins", "Administrator:innen"); g2 = new Group("groups/admins", "Administrator:innen");
g3 = new Group("groups/alumni", "Alumni"); g3 = new Group("groups/alumni", "Alumni");
new Group("groups/leer", "Leere Gruppe").bind(this); this.add(new Group("groups/leer", "Leere Gruppe"));
g1.bind(this); this.add(g1);
g2.bind(this); this.add(g2);
g3.bind(this); this.add(g3);
g1.addMember("students/jotto5"); g1.addMember("students/jotto5");
g2.addMember("students/vnachn"); g2.addMember("students/vnachn");
g2.addMember("students/ltorva"); g2.addMember("students/ltorva");