#pragma warning disable CA2227
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 or sets a collection of the publishers for this book.
///
public virtual ICollection Publishers { get; protected set; }
///
public ICollection Companies => Publishers;
}
}