Converted the project in C#, added Entity Framework Core.

This commit is contained in:
Samuele Lorefice
2023-11-06 20:38:28 +01:00
parent 0685bc33ce
commit f37998ca9f
27 changed files with 748 additions and 796 deletions

17
Match.cs Normal file
View File

@@ -0,0 +1,17 @@
using Microsoft.EntityFrameworkCore;
namespace IsleBot;
public class Match {
public int MatchId { get; set; }
public User PlayerA { get; set; }
public Card PlayerACard { get; set; }
public User PlayerB { get; set; }
public Card PlayerBCard { get; set; }
public int PlayedTurns { get; set; }
public EStatus Status { get; set; }
}