Improved client handling and episode models

This commit is contained in:
2020-02-27 23:11:36 +01:00
parent 82722e77d6
commit 2d2f8b6b76
22 changed files with 540 additions and 257 deletions

View File

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