using System;
using API.Entities.Enums;
namespace API.DTOs.ReadingLists;
#nullable enable
public class ReadingListItemDto
{
public int Id { get; init; }
public int Order { get; init; }
public int ChapterId { get; init; }
public int SeriesId { get; init; }
public string? SeriesName { get; set; }
public MangaFormat SeriesFormat { get; set; }
public int PagesRead { get; set; }
public int PagesTotal { get; set; }
public string? ChapterNumber { get; set; }
public string? VolumeNumber { get; set; }
public string? ChapterTitleName { get; set; }
public int VolumeId { get; set; }
public int LibraryId { get; set; }
public string? Title { get; set; }
public LibraryType LibraryType { get; set; }
public string? LibraryName { get; set; }
///
/// Release Date from Chapter
///
public DateTime ReleaseDate { get; set; }
///
/// Used internally only
///
public int ReadingListId { get; set; }
///
/// The last time a reading list item (underlying chapter) was read by current authenticated user
///
public DateTime LastReadingProgressUtc { get; set; }
///
/// File size of underlying item
///
/// This is only used for CDisplayEx
public long FileSize { get; set; }
///
/// The chapter summary
///
public string? Summary { get; set; }
}