more entities
This commit is contained in:
parent
7fc7464e13
commit
60c8910425
9
Entities/Match.cs
Normal file
9
Entities/Match.cs
Normal 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
9
Entities/Player.cs
Normal 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; }
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user