[init:] added file for structures
This commit is contained in:
10
structs.cs
Normal file
10
structs.cs
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user