Update
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace EstusShots.Shared.Models
|
||||
{
|
||||
@@ -7,12 +6,16 @@ namespace EstusShots.Shared.Models
|
||||
{
|
||||
public Guid SeasonId { get; set; }
|
||||
|
||||
[MaxLength(50)] public string Game { get; set; } = default!;
|
||||
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