This commit is contained in:
2020-02-25 22:39:40 +01:00
commit de3da55bac
16 changed files with 436 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<WarningsAsErrors>NU1605;CS8618</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<WarningsAsErrors>NU1605;CS8618</WarningsAsErrors>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,18 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace EstusShots.Shared.Models
{
public class Season
{
public Guid SeasonId { 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; }
}
}