mirror of
https://github.com/SamueleLorefice/isleBot.git
synced 2026-01-14 21:55:49 +00:00
19 lines
427 B
C#
19 lines
427 B
C#
using System.Runtime.Serialization;
|
|
|
|
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;
|
|
UserName = userName;
|
|
Cards = new List<Card>();
|
|
}
|
|
} |