Kavita/API/DTOs/CoverDb/CoverDbAuthor.cs
2025-05-04 07:14:44 -07:00

17 lines
599 B
C#

using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace API.DTOs.CoverDb;
public sealed record CoverDbAuthor
{
[YamlMember(Alias = "name", ApplyNamingConventions = false)]
public string Name { get; set; }
[YamlMember(Alias = "aliases", ApplyNamingConventions = false)]
public List<string> Aliases { get; set; } = new List<string>();
[YamlMember(Alias = "ids", ApplyNamingConventions = false)]
public CoverDbPersonIds Ids { get; set; }
[YamlMember(Alias = "image_path", ApplyNamingConventions = false)]
public string ImagePath { get; set; }
}