mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-11 12:35:48 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
23 lines
654 B
C#
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!;
|
|
}
|