Updated the proostekrant to work properly again.
This commit is contained in:
@@ -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"
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user