mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-01-20 02:45:52 -05:00
23 lines
530 B
C#
23 lines
530 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs;
|
|
|
|
public sealed record PersonAliasCheckDto
|
|
{
|
|
/// <summary>
|
|
/// The person to check against
|
|
/// </summary>
|
|
[Required]
|
|
public int PersonId { get; set; }
|
|
/// <summary>
|
|
/// The persons name in the form. In case it differs from the one in the database
|
|
/// </summary>
|
|
[Required]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// The alias to check
|
|
/// </summary>
|
|
[Required]
|
|
public string Alias { get; set; }
|
|
}
|