mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Adds book reading support with EPUB and PDF reader plugins
This commit is contained in:
1 parent
275fd83ff2
commit
f7ccdf3d1c
271 files changed
+11501
-361
No files matched your search
@@ -0,0 +1,33 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.DTO.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for the reading availability of a book.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("BookId: {BookId}, IsAvailable: {IsAvailable}")]
|
||||
public class ReadingAvailabilityDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the book whose reading availability is reported.
|
||||
/// </summary>
|
||||
public Guid BookId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the media library the book belongs to.
|
||||
/// </summary>
|
||||
public Guid LibraryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether the book can be opened for reading.
|
||||
/// </summary>
|
||||
public bool IsAvailable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the code of the error preventing the book from being read, when it cannot be read. Can be <see langword="null"/> when the book is available.
|
||||
/// </summary>
|
||||
public string? ErrorCode { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user