using System;
using System.Collections.Generic;
namespace Jellyfin.Data.Entities.Libraries
{
    /// 
    /// An entity representing a a series.
    /// 
    public class Series : LibraryItem
    {
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The library.
        public Series(Library library) : base(library)
        {
            Seasons = new HashSet();
            SeriesMetadata = new HashSet();
        }
        /// 
        /// Gets or sets the days of week.
        /// 
        public DayOfWeek? AirsDayOfWeek { get; set; }
        /// 
        /// Gets or sets the time the show airs, ignore the date portion.
        /// 
        public DateTimeOffset? AirsTime { get; set; }
        /// 
        /// Gets or sets the date the series first aired.
        /// 
        public DateTime? FirstAired { get; set; }
        /// 
        /// Gets a collection containing the series metadata.
        /// 
        public virtual ICollection SeriesMetadata { get; private set; }
        /// 
        /// Gets a collection containing the seasons.
        /// 
        public virtual ICollection Seasons { get; private set; }
    }
}