diff --git a/structs.cs b/structs.cs new file mode 100644 index 0000000..8d9f1ea --- /dev/null +++ b/structs.cs @@ -0,0 +1,10 @@ +namespace spplus; + +public class Sport +{ + public string Name { get; set; } = "Neuer Kurs"; // Kursname + public int MaxCoursesPerSemester { get; set; } = 1; // Maximale Anzahl an Kursen pro Semester + public int MaxStudents { get; set; } = 20; // Maximale Anzahl an Schülern pro Kurs + public int MinStudents { get; set; } = 5; // Minimale Anzahl an Schülern pro Kurs + public int[] Semester { get; set; } = [1, 2, 3, 4]; // Angebot in diesen Semestern +} \ No newline at end of file