using System.Collections.Generic; namespace Jellyfin.Data.Entities.Libraries { /// /// An entity representing a season. /// public class Season : LibraryItem { /// /// Initializes a new instance of the class. /// /// The library. public Season(Library library) : base(library) { Episodes = new HashSet(); SeasonMetadata = new HashSet(); } /// /// Gets or sets the season number. /// public int? SeasonNumber { get; set; } /// /// Gets the season metadata. /// public virtual ICollection SeasonMetadata { get; private set; } /// /// Gets a collection containing the number of episodes. /// public virtual ICollection Episodes { get; private set; } } }