using System.Collections.Generic; using Jellyfin.Data.Interfaces; namespace Jellyfin.Data.Entities.Libraries { /// /// An entity representing a book. /// public class Book : LibraryItem, IHasReleases { /// /// Initializes a new instance of the class. /// /// The library. public Book(Library library) : base(library) { BookMetadata = new HashSet(); Releases = new HashSet(); } /// /// Gets a collection containing the metadata for this book. /// public virtual ICollection BookMetadata { get; private set; } /// public virtual ICollection Releases { get; private set; } } }