Adeed base database build

This commit is contained in:
Samuele Lorefice
2023-11-07 01:47:56 +01:00
parent 1fe234914d
commit 57ddbbf115
13 changed files with 532 additions and 121 deletions

11
User.cs
View File

@@ -1,10 +1,15 @@
namespace IsleBot;
using System.Runtime.Serialization;
public class User
{
namespace IsleBot;
public class User {
[DataMember(IsRequired = true)]
public int Id { get; private set; }
public string UserName { get; set; }
public List<Card> Cards { get; set; }
//public List<Match> Matches { get; set; }
public User(int id, string userName) {
Id = id;