Files
EstusShots-Net/EstusShots.Server/Models/Season.cs
2020-03-07 11:29:00 +01:00

25 lines
609 B
C#

using System;
using System.Collections.Generic;
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; }
public List<Episode> Episodes { get; set; } = default!;
public ICollection<SeasonEnemies> SeasonEnemies { get; set; } = default!;
}
}