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.

644 B
Raw Blame
namespace API.Entities;

public class ReadingListItem
{
    public int Id { get; init; }
    public int SeriesId { get; set; }
    public int VolumeId { get; set; }
    public int ChapterId { get; set; }
    /// <summary>
    /// Order of the chapter within a Reading List
    /// </summary>
    public int Order { get; set; }

    // Relationship
    public ReadingList ReadingList { get; set; } = null!;
    public int ReadingListId { get; set; }

    // Keep these for easy join statements
    public Series Series { get; set; } = null!;
    public Volume Volume { get; set; } = null!;
    public Chapter Chapter { get; set; } = null!;
}