using System.Xml.Serialization; using API.Data.Metadata; namespace API.DTOs.ReadingLists.CBL; [XmlRoot(ElementName="Book")] public class CblBook { [XmlAttribute("Series")] public string Series { get; set; } /// /// Chapter Number /// [XmlAttribute("Number")] public string Number { get; set; } /// /// Volume Number (usually for Comics they are the year) /// [XmlAttribute("Volume")] public string Volume { get; set; } [XmlAttribute("Year")] public string Year { get; set; } /// /// Main Series, Annual, Limited Series /// /// This maps to Format tag [XmlAttribute("Format")] public string Format { get; set; } /// /// The underlying filetype /// /// This is not part of the standard and explicitly for Kavita to support non cbz/cbr files [XmlAttribute("FileType")] public string FileType { get; set; } }