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