using System;
using System.Collections.Generic;
using API.Entities.Interfaces;
namespace API.Entities
{
///
/// This is a collection of which represent individual chapters and an order.
///
public class ReadingList : IEntityDate
{
public int Id { get; init; }
public string Title { get; set; }
///
/// A normalized string used to check if the reading list already exists in the DB
///
public string NormalizedTitle { get; set; }
public string Summary { get; set; }
///
/// Reading lists that are promoted are only done by admins
///
public bool Promoted { get; set; }
///
/// Absolute path to the (managed) image file
///
/// The file is managed internally to Kavita's APPDIR
public string CoverImage { get; set; }
public bool CoverImageLocked { get; set; }
public ICollection Items { get; set; }
public DateTime Created { get; set; }
public DateTime LastModified { get; set; }
// Relationships
public int AppUserId { get; set; }
public AppUser AppUser { get; set; }
}
}