progress
This commit is contained in:
parent
60c8910425
commit
aa20adb295
@ -7,5 +7,7 @@ public class DbContext : IdentityDbContext<User, IdentityRole<Guid>, Guid>
|
||||
{
|
||||
public DbContext(DbContextOptions<DbContext> options) : base(options) { }
|
||||
|
||||
public DbSet<Card> Cards { get; set; }
|
||||
public DbSet<Card> Deck { get; set; }
|
||||
public DbSet<LayoutCard> LayoutCards { get; set; }
|
||||
|
||||
}
|
8
Entities/Hand.cs
Normal file
8
Entities/Hand.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Sequence.Entities;
|
||||
|
||||
public class Hand
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public User User { get; set; }
|
||||
public ICollection<Card> Cards { get; set; }
|
||||
}
|
9
Entities/LayoutCard.cs
Normal file
9
Entities/LayoutCard.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace Sequence.Entities;
|
||||
|
||||
public class LayoutCard
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Card Card { get; set; }
|
||||
public int PositionX { get; set; }
|
||||
public int PositionY { get; set; }
|
||||
}
|
Loading…
Reference in New Issue
Block a user