using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Entities { [Table("Players")] public class PlayerEntity { /// /// define an entity for a player /// properties : /// Id : identifier in the database /// Nickname : nickname for the player /// HashedPassword : hashed of the password of the player /// [Key] public uint? Id { get; set; } public string Nickname { get; set; } = null!; public string HashedPassword { get; set; } = null!; } }