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