Kavita/Kavita.Models/Entities/ReadingListItem.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

23 lines
654 B
C#

namespace Kavita.Models.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!;
}