mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 21:54:47 -04:00
* Fixed an issue where signalr cover update events would fire before the covers were updated in db and hence UI would show as if no cover for quite some time. * Refactored MetadataService to GenerateCovers, as that is what this service does. * Fixed a bug where list item for books that have 0.X series index wouldn't render on series detail. Added Name updates on volume on scan * Removed some debug code
30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using API.Entities;
|
|
using API.Entities.Interfaces;
|
|
|
|
namespace API.DTOs
|
|
{
|
|
public class VolumeDto : IHasReadTimeEstimate
|
|
{
|
|
public int Id { get; set; }
|
|
/// <inheritdoc cref="Volume.Number"/>
|
|
public int Number { get; set; }
|
|
/// <inheritdoc cref="Volume.Name"/>
|
|
public string Name { get; set; }
|
|
public int Pages { get; set; }
|
|
public int PagesRead { get; set; }
|
|
public DateTime LastModified { get; set; }
|
|
public DateTime Created { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public ICollection<ChapterDto> Chapters { get; set; }
|
|
/// <inheritdoc cref="IHasReadTimeEstimate.MinHoursToRead"/>
|
|
public int MinHoursToRead { get; set; }
|
|
/// <inheritdoc cref="IHasReadTimeEstimate.MaxHoursToRead"/>
|
|
public int MaxHoursToRead { get; set; }
|
|
/// <inheritdoc cref="IHasReadTimeEstimate.AvgHoursToRead"/>
|
|
public int AvgHoursToRead { get; set; }
|
|
}
|
|
}
|