Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

812 B
Raw Blame
using System.Xml.Serialization;

namespace API.DTOs.ReadingLists.CBL;


[XmlRoot(ElementName="Book")]
public class CblBook
{
    [XmlAttribute("Series")]
    public string Series { get; set; }
    /// <summary>
    /// Chapter Number
    /// </summary>
    [XmlAttribute("Number")]
    public string Number { get; set; }
    /// <summary>
    /// Volume Number (usually for Comics they are the year)
    /// </summary>
    [XmlAttribute("Volume")]
    public string Volume { get; set; }
    [XmlAttribute("Year")]
    public string Year { get; set; }
    /// <summary>
    /// The underlying filetype
    /// </summary>
    /// <remarks>This is not part of the standard and explicitly for Kavita to support non cbz/cbr files</remarks>
    [XmlAttribute("FileType")]
    public string FileType { get; set; }
}