more entities

This commit is contained in:
Ryan Peters 2023-04-03 22:15:41 -04:00
parent 7fc7464e13
commit 60c8910425
2 changed files with 18 additions and 0 deletions

9
Entities/Match.cs Normal file
View File

@ -0,0 +1,9 @@
namespace Sequence.Entities;
public class Match
{
public Guid Id { get; set; }
public DateTime Created { get; set; }
public Player PlayerOne { get; set; }
public Player PlayerTwo { get; set; }
}

9
Entities/Player.cs Normal file
View File

@ -0,0 +1,9 @@
namespace Sequence.Entities;
public class Player
{
public Guid Id { get; set; }
public User User { get; set; }
public Hand Hand { get; set; }
public ICollection<LayoutCard> PlayedCards { get; set; }
}