From b0487920d0e006a4720818ce51346fd98f538b67 Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Mon, 9 Feb 2026 17:33:25 +0100 Subject: [PATCH] [init:] added file for structures --- structs.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 structs.cs 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