1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 00:07:07 +00:00
Sonarr/NzbDrone.Core/Entities/Series.cs

40 lines
No EOL
937 B
C#

using System;
using System.Collections.Generic;
using NzbDrone.Core.Entities.Episode;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Entities
{
public class Series
{
[SubSonicPrimaryKey(false)]
public virtual int SeriesId { get; set; }
public string Title { get; set; }
public string CleanTitle { get; set; }
public string Status { get; set; }
[SubSonicLongString]
public string Overview { get; set; }
public DayOfWeek? AirsDayOfWeek { get; set; }
public String AirTimes { get; set; }
public string Language { get; set; }
public string Path { get; set; }
public bool Monitored { get; set; }
[SubSonicToManyRelation]
public virtual List<Season> Seasons { get; private set; }
[SubSonicToManyRelation]
public virtual List<EpisodeInfo> Episodes { get; private set; }
}
}