Improved client handling and episode models
This commit is contained in:
21
EstusShots.Shared/Dto/Season.cs
Normal file
21
EstusShots.Shared/Dto/Season.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace EstusShots.Shared.Dto
|
||||
{
|
||||
public class Season
|
||||
{
|
||||
public Guid SeasonId { get; set; }
|
||||
|
||||
public int Number { get; set; }
|
||||
|
||||
public string Game { get; set; } = default!;
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
public DateTime Start { get; set; }
|
||||
|
||||
public DateTime? End { get; set; }
|
||||
|
||||
public string DisplayName => $"S{Number:D2} {Game}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user