using System.Collections.Generic;
using Jellyfin.Data.Interfaces;
namespace Jellyfin.Data.Entities.Libraries
{
///
/// An entity representing an episode.
///
public class Episode : LibraryItem, IHasReleases
{
///
/// Initializes a new instance of the class.
///
/// The library.
public Episode(Library library) : base(library)
{
Releases = new HashSet();
EpisodeMetadata = new HashSet();
}
///
/// Gets or sets the episode number.
///
public int? EpisodeNumber { get; set; }
///
public virtual ICollection Releases { get; private set; }
///
/// Gets a collection containing the metadata for this episode.
///
public virtual ICollection EpisodeMetadata { get; private set; }
}
}