using System.Collections.Generic;
namespace API.DTOs
{
public class ChapterDto
{
public int Id { get; set; }
///
/// Range of chapters. Chapter 2-4 -> "2-4". Chapter 2 -> "2".
///
public string Range { get; set; }
///
/// Smallest number of the Range.
///
public string Number { get; set; }
public byte[] CoverImage { get; set; }
///
/// Total number of pages in all MangaFiles
///
public int Pages { get; set; }
///
/// The files that represent this Chapter
///
public ICollection Files { get; set; }
///
/// Calculated at API time. Number of pages read for this Chapter for logged in user.
///
public int PagesRead { get; set; }
public int VolumeId { get; set; }
}
}