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,25 @@
using System;
namespace EstusShots.Shared.Dto
{
public class Episode
{
public Guid EpisodeId { get; set; }
public int Number { get; set; }
public string Title { get; set; }
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; }
public string Displayname => $"S{Season.Number:D2}E{Number:D2}";
}
}