You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.01-QCM_MuscuMaths/WebApi/Entities/PlayerEntity.cs

25 lines
673 B

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
{
/// <summary>
/// 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
/// </summary>
[Key]
public int Id { get; set; }
public string Nickname { get; set; } = null!;
public string HashedPassword { get; set; } = null!;
}
}