2013-02-18 22:01:03 -08:00
|
|
|
using System.Linq;
|
|
|
|
using System;
|
2013-02-18 22:56:02 -08:00
|
|
|
using NzbDrone.Core.Datastore;
|
2012-01-23 22:29:32 -08:00
|
|
|
using NzbDrone.Core.Model;
|
2013-02-26 19:19:22 -08:00
|
|
|
using NzbDrone.Core.Qualities;
|
2013-02-19 23:45:52 -08:00
|
|
|
using PetaPoco;
|
2010-09-22 20:19:47 -07:00
|
|
|
|
2013-02-18 22:01:03 -08:00
|
|
|
namespace NzbDrone.Core.Tv
|
2010-09-22 20:19:47 -07:00
|
|
|
{
|
2013-02-19 18:05:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
public enum SeriesType
|
|
|
|
{
|
|
|
|
Standard =0,
|
|
|
|
Daily =1,
|
|
|
|
Anime = 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-02-18 22:56:02 -08:00
|
|
|
public class Series : ModelBase
|
2010-09-22 20:19:47 -07:00
|
|
|
{
|
2013-02-24 11:57:33 -08:00
|
|
|
public int TvDbId { get; set; }
|
2010-09-27 22:58:49 -07:00
|
|
|
|
2010-10-02 12:01:43 -07:00
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
public string CleanTitle { get; set; }
|
2010-09-27 22:58:49 -07:00
|
|
|
|
|
|
|
public string Status { get; set; }
|
2010-09-22 20:19:47 -07:00
|
|
|
|
2010-09-27 22:58:49 -07:00
|
|
|
public string Overview { get; set; }
|
|
|
|
|
2013-02-24 16:00:17 -08:00
|
|
|
//public DayOfWeek? AirsDayOfWeek { get; set; }
|
2010-09-27 22:58:49 -07:00
|
|
|
|
2013-02-09 02:04:18 -08:00
|
|
|
public String AirTime { get; set; }
|
2010-09-27 22:58:49 -07:00
|
|
|
|
|
|
|
public string Language { get; set; }
|
2010-09-24 00:14:42 -07:00
|
|
|
|
2010-09-27 22:58:49 -07:00
|
|
|
public string Path { get; set; }
|
2010-09-30 17:09:22 -07:00
|
|
|
|
2010-10-02 12:01:43 -07:00
|
|
|
public bool Monitored { get; set; }
|
|
|
|
|
2011-06-17 21:39:02 -07:00
|
|
|
public virtual int QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
public bool SeasonFolder { get; set; }
|
|
|
|
|
|
|
|
public DateTime? LastInfoSync { get; set; }
|
|
|
|
|
|
|
|
public DateTime? LastDiskSync { get; set; }
|
|
|
|
|
2011-09-10 01:42:05 -07:00
|
|
|
public int Runtime { get; set; }
|
|
|
|
|
|
|
|
public string BannerUrl { get; set; }
|
|
|
|
|
2013-02-19 18:05:15 -08:00
|
|
|
public SeriesType SeriesType { get; set; }
|
2011-11-25 18:20:50 -08:00
|
|
|
|
2012-01-25 17:02:21 -08:00
|
|
|
public BacklogSettingType BacklogSetting { get; set; }
|
2012-01-23 22:29:32 -08:00
|
|
|
|
2012-02-28 23:20:40 -08:00
|
|
|
public string Network { get; set; }
|
|
|
|
|
2012-09-20 08:37:40 -07:00
|
|
|
public DateTime? CustomStartDate { get; set; }
|
2012-09-18 18:30:30 -07:00
|
|
|
|
2012-10-17 00:39:06 -07:00
|
|
|
public bool UseSceneNumbering { get; set; }
|
|
|
|
|
2012-12-19 08:41:51 -08:00
|
|
|
public int TvRageId { get; set; }
|
|
|
|
|
|
|
|
public string TvRageTitle { get; set; }
|
|
|
|
|
2013-02-13 00:32:17 -06:00
|
|
|
//Todo: This should be a double since there are timezones that aren't on a full hour offset
|
2012-12-19 08:41:51 -08:00
|
|
|
public int UtcOffset { get; set; }
|
|
|
|
|
2012-12-26 16:16:15 -08:00
|
|
|
public DateTime? FirstAired { get; set; }
|
|
|
|
|
2011-05-20 17:23:49 -07:00
|
|
|
public bool Hidden { get; set; }
|
|
|
|
|
2011-06-17 21:39:02 -07:00
|
|
|
public QualityProfile QualityProfile { get; set; }
|
2011-06-20 00:13:17 -07:00
|
|
|
|
|
|
|
public int EpisodeCount { get; set; }
|
|
|
|
|
|
|
|
public int EpisodeFileCount { get; set; }
|
|
|
|
|
|
|
|
public int SeasonCount { get; set; }
|
2011-09-28 10:56:30 -07:00
|
|
|
|
|
|
|
public DateTime? NextAiring { get; set; }
|
2010-09-22 20:19:47 -07:00
|
|
|
}
|
2010-09-27 22:58:49 -07:00
|
|
|
}
|