Initial
This commit is contained in:
16
EstusShots.Shared/EstusShots.Shared.csproj
Normal file
16
EstusShots.Shared/EstusShots.Shared.csproj
Normal 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>
|
||||
18
EstusShots.Shared/Models/Season.cs
Normal file
18
EstusShots.Shared/Models/Season.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user