#pragma warning disable CA2227
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; protected set; }
///
/// Gets or sets a collection containing the track metadata.
///
public virtual ICollection TrackMetadata { get; protected set; }
}
}