Updated the proostekrant to work properly again.

This commit is contained in:
douwe
2026-10-09 10:33:21 +02:00
parent 56d143b74b
commit 256a81a770
133 changed files with 10491 additions and 837 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace ProostenKrant.Models;
public class Season
{
public int Id { get; set; }
public string Name { get; set; } = "";
public string? Description { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public bool IsActive { get; set; } = true;
public string CssKey => Name.ToLowerInvariant() switch
{
"lente" => "lente",
"zomer" => "zomer",
"herfst" => "herfst",
_ => "winter"
};
}