#region ========================================================================= USING ===================================================================================== using System; using System.Diagnostics; #endregion namespace Lumina.Presentation.Web.Common.DTO.Reading; /// /// Data transfer object for the reading availability of a book. /// [DebuggerDisplay("BookId: {BookId}, IsAvailable: {IsAvailable}")] public class ReadingAvailabilityDto { /// /// Gets or sets the Id of the book whose reading availability is reported. /// public Guid BookId { get; set; } /// /// Gets or sets the Id of the media library the book belongs to. /// public Guid LibraryId { get; set; } /// /// Gets or sets whether the book can be opened for reading. /// public bool IsAvailable { get; set; } /// /// Gets or sets the code of the error preventing the book from being read, when it cannot be read. Can be when the book is available. /// public string? ErrorCode { get; set; } }