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/DTOs/PlayerDto.cs

24 lines
651 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTOs
{
public class PlayerDto
{
/// <summary>
/// define a DTO for a player
/// properties :
/// Id : identifier in the database
/// Nickname : nickname for the player
/// HashedPassword : hashed of the password of the player
/// </summary>
public int? Id { get; set; }
public string Nickname { get; set; } = null!;
public string HashedPassword { get; set; } = null!;
}
}