using System.ComponentModel.DataAnnotations;
namespace API.DTOs;
public sealed record PersonAliasCheckDto
{
///
/// The person to check against
///
[Required]
public int PersonId { get; set; }
///
/// The persons name in the form. In case it differs from the one in the database
///
[Required]
public string Name { get; set; }
///
/// The alias to check
///
[Required]
public string Alias { get; set; }
}