1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-16 16:04:08 +01:00
Radarr/NzbDrone.Web/Models/SeriesModel.cs
2012-09-20 08:37:40 -07:00

60 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Web;
using NzbDrone.Core.Model;
using NzbDrone.Core.Repository;
namespace NzbDrone.Web.Models
{
public class SeriesModel
{
public int SeriesId { get; set; }
//View Only
public string Title { get; set; }
public string TitleSorter { get; set; }
public int SeasonsCount { get; set; }
public int EpisodeCount { get; set; }
public int EpisodeFileCount { get; set; }
public string Status { get; set; }
public string AirsDayOfWeek { get; set; }
public string QualityProfileName { get; set; }
public string Overview { get; set; }
public int Episodes { get; set; }
public bool HasBanner { get; set; }
public string NextAiring { get; set; }
public string NextAiringSorter { get; set; }
public string Details { get; set; }
public string Network { get; set; }
public string AirTime { get; set; }
public IList<int> Seasons { get; set; }
//View & Edit
[DisplayName("Path")]
[Description("Where should NzbDrone store episodes for this series?")]
public string Path { get; set; }
[DisplayName("Quality Profile")]
[Description("Which Quality Profile should NzbDrone use to download episodes?")]
public virtual int QualityProfileId { get; set; }
//Editing Only
[DisplayName("Use Season Folder")]
[Description("Should downloaded episodes be stored in season folders?")]
public bool SeasonFolder { get; set; }
[DisplayName("Monitored")]
[Description("Should NzbDrone download episodes for this series?")]
public bool Monitored { get; set; }
[DisplayName("Backlog Setting")]
[Description("Should NzbDrone search for missing episodes every 30 days?")]
public int BacklogSetting { get; set; }
[DisplayName("Custom Start Date")]
[Description("Should NzbDrone only download episodes after your preferred start date?")]
public string CustomStartDate { get; set; }
}
}