using System.Collections.Generic;
using Jellyfin.Data.Interfaces;
namespace Jellyfin.Data.Entities.Libraries
{
///
/// An entity containing metadata for a book.
///
public class BookMetadata : ItemMetadata, IHasCompanies
{
///
/// Initializes a new instance of the class.
///
/// The title or name of the object.
/// ISO-639-3 3-character language codes.
public BookMetadata(string title, string language) : base(title, language)
{
Publishers = new HashSet();
}
///
/// Gets or sets the ISBN.
///
public long? Isbn { get; set; }
///
/// Gets a collection of the publishers for this book.
///
public virtual ICollection Publishers { get; private set; }
///
public ICollection Companies => Publishers;
}
}