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/AdministratorEntity.cs

25 lines
701 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 AdministratorEntity
{
/// <summary>
/// define an entity for an administrator
/// properties :
/// Id : identifier in the database
/// Username : username for a administrator
/// HashedPassword : hash of the password of the administrator
/// </summary>
[Key]
public int? Id { get; set; }
public string Username { get; set; } = null!;
public string HashedPassword { get; set; } = null!;
}
}