Kavita/Kavita.Models/DTOs/Person/UpdatePersonDto.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

23 lines
591 B
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Kavita.Models.DTOs;
#nullable enable
public sealed record UpdatePersonDto
{
[Required]
public int Id { get; init; }
[Required]
public bool CoverImageLocked { get; set; }
[Required]
public string Name {get; set;}
public IList<string> Aliases { get; set; } = [];
public string? Description { get; set; }
public int? AniListId { get; set; }
public long? MalId { get; set; }
public string? HardcoverId { get; set; }
public string? Asin { get; set; }
}