using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Entities { [Table("Administrators")] public class AdministratorEntity { /// /// 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 /// [Key] public uint? Id { get; set; } public string Username { get; set; } = null!; public string HashedPassword { get; set; } = null!; } }