2011-05-10 08:32:33 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Web;
|
2012-01-24 07:29:32 +01:00
|
|
|
|
using NzbDrone.Core.Model;
|
2011-05-10 08:32:33 +02:00
|
|
|
|
using NzbDrone.Core.Repository;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
|
{
|
2012-02-16 06:53:00 +01:00
|
|
|
|
public class SeriesModel
|
2011-05-10 08:32:33 +02:00
|
|
|
|
{
|
|
|
|
|
public int SeriesId { get; set; }
|
|
|
|
|
|
|
|
|
|
//View Only
|
|
|
|
|
public string Title { get; set; }
|
2012-02-16 06:53:00 +01:00
|
|
|
|
public string TitleSorter { get; set; }
|
2011-05-10 08:32:33 +02:00
|
|
|
|
public int SeasonsCount { get; set; }
|
2011-06-20 09:13:17 +02:00
|
|
|
|
public int EpisodeCount { get; set; }
|
|
|
|
|
public int EpisodeFileCount { get; set; }
|
2011-05-10 08:32:33 +02:00
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
public string AirsDayOfWeek { get; set; }
|
|
|
|
|
public string QualityProfileName { get; set; }
|
|
|
|
|
public string Overview { get; set; }
|
2011-06-02 05:36:30 +02:00
|
|
|
|
public int Episodes { get; set; }
|
2011-09-11 01:01:15 +02:00
|
|
|
|
public bool HasBanner { get; set; }
|
2011-09-28 19:56:30 +02:00
|
|
|
|
public string NextAiring { get; set; }
|
2012-02-16 06:53:00 +01:00
|
|
|
|
public string NextAiringSorter { get; set; }
|
|
|
|
|
public string Details { get; set; }
|
2012-02-29 08:20:40 +01:00
|
|
|
|
public string Network { get; set; }
|
2012-04-15 02:55:17 +02:00
|
|
|
|
public string AirTime { get; set; }
|
2012-09-19 09:07:19 +02:00
|
|
|
|
|
2011-06-04 03:56:53 +02:00
|
|
|
|
public IList<int> Seasons { get; set; }
|
2011-05-10 08:32:33 +02:00
|
|
|
|
|
|
|
|
|
//View & Edit
|
|
|
|
|
[DisplayName("Path")]
|
2011-08-04 08:59:08 +02:00
|
|
|
|
[Description("Where should NzbDrone store episodes for this series?")]
|
2011-05-10 08:32:33 +02:00
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Quality Profile")]
|
2011-08-04 08:59:08 +02:00
|
|
|
|
[Description("Which Quality Profile should NzbDrone use to download episodes?")]
|
2011-05-10 08:32:33 +02:00
|
|
|
|
public virtual int QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
|
|
//Editing Only
|
|
|
|
|
[DisplayName("Use Season Folder")]
|
2011-08-04 08:59:08 +02:00
|
|
|
|
[Description("Should downloaded episodes be stored in season folders?")]
|
2011-05-10 08:32:33 +02:00
|
|
|
|
public bool SeasonFolder { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Monitored")]
|
2011-08-04 08:59:08 +02:00
|
|
|
|
[Description("Should NzbDrone download episodes for this series?")]
|
2011-05-16 08:27:02 +02:00
|
|
|
|
public bool Monitored { get; set; }
|
2012-01-24 07:29:32 +01:00
|
|
|
|
|
2012-01-26 02:02:21 +01:00
|
|
|
|
[DisplayName("Backlog Setting")]
|
2012-01-26 03:00:17 +01:00
|
|
|
|
[Description("Should NzbDrone search for missing episodes every 30 days?")]
|
2012-01-26 02:02:21 +01:00
|
|
|
|
public int BacklogSetting { get; set; }
|
2012-09-19 09:07:19 +02:00
|
|
|
|
|
2012-09-20 17:37:40 +02:00
|
|
|
|
[DisplayName("Custom Start Date")]
|
|
|
|
|
[Description("Should NzbDrone only download episodes after your preferred start date?")]
|
|
|
|
|
public string CustomStartDate { get; set; }
|
2011-05-10 08:32:33 +02:00
|
|
|
|
}
|
|
|
|
|
}
|