#pragma warning disable CA2227
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.
///
public Series()
{
DateAdded = DateTime.UtcNow;
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 or sets a collection containing the series metadata.
///
public virtual ICollection SeriesMetadata { get; protected set; }
///
/// Gets or sets a collection containing the seasons.
///
public virtual ICollection Seasons { get; protected set; }
}
}