mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-14 22:12:09 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
23 lines
540 B
C#
23 lines
540 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Kavita.Models.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; }
|
|
}
|