mirror of
https://github.com/SamueleLorefice/isleBot.git
synced 2026-01-15 06:03:42 +00:00
Adeed base database build
This commit is contained in:
11
User.cs
11
User.cs
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user