Kapitel 7 abgeschlossen.
This commit is contained in:
1 parent
da8d2bb1da
commit
f9e398b225
47 files changed
+2636
-107
No files matched your search
@@ -19,6 +19,8 @@ public class Contact
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
public string Name { get; set; } = "";
|
||||
public string Relation { get; set; } = "";
|
||||
/// <summary>Vollständige Anrede für Briefe, z.B. „Sehr geehrte Frau Mustermann,“.</summary>
|
||||
public string? LetterSalutation { get; set; }
|
||||
public string? Phone { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public string? Street { get; set; }
|
||||
@@ -40,3 +42,16 @@ public enum ContactInvalidReason
|
||||
}
|
||||
|
||||
public enum Gender { M, W, D }
|
||||
|
||||
public sealed record StudentReferenceSummary(
|
||||
int Memberships,
|
||||
int ExamResults,
|
||||
int Grades,
|
||||
int ReportGrades,
|
||||
int ParticipationEntries,
|
||||
int DocumentationEntries)
|
||||
{
|
||||
public int Total => Memberships + ExamResults + Grades + ReportGrades
|
||||
+ ParticipationEntries + DocumentationEntries;
|
||||
public bool HasReferences => Total > 0;
|
||||
}
|
||||
Reference in new issue
Block a user