mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			581 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			581 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Collections.Generic;
 | 
						|
using System.ComponentModel.DataAnnotations;
 | 
						|
 | 
						|
namespace API.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; }
 | 
						|
}
 |