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