using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entities { public class PlayerEntity { /// /// define an entity for a player /// properties : /// Id : identifier in the database /// Nickname : nickname for a player /// HashedPassword : hashed of the password of the player /// [Key] public int Id { get; set; } public string Nickname { get; set; } = null!; public string HashedPassword { get; set; } = null!; } }