This commit is contained in:
2020-02-26 21:50:58 +01:00
parent 78c21ade79
commit 64cdaf8e9f
15 changed files with 353 additions and 66 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace EstusShots.Server.Models
{
public class Season
{
public Guid SeasonId { get; set; }
public int Number { get; set; }
[MaxLength(50)] public string Game { get; set; } = default!;
public string? Description { get; set; }
public DateTime Start { get; set; }
public DateTime? End { get; set; }
}
}