2011-05-10 06:32:33 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using NzbDrone.Core.Repository;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
|
{
|
|
|
|
|
public class SeriesModel
|
|
|
|
|
{
|
|
|
|
|
public int SeriesId { get; set; }
|
|
|
|
|
|
|
|
|
|
//View Only
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public int SeasonsCount { get; set; }
|
2011-06-20 07:13:17 +00:00
|
|
|
|
public int EpisodeCount { get; set; }
|
|
|
|
|
public int EpisodeFileCount { get; set; }
|
2011-05-10 06:32:33 +00:00
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
public string AirsDayOfWeek { get; set; }
|
|
|
|
|
public string QualityProfileName { get; set; }
|
|
|
|
|
public string Overview { get; set; }
|
2011-06-02 03:36:30 +00:00
|
|
|
|
public int Episodes { get; set; }
|
2011-09-10 23:01:15 +00:00
|
|
|
|
public bool HasBanner { get; set; }
|
2011-06-04 01:56:53 +00:00
|
|
|
|
|
|
|
|
|
public IList<int> Seasons { get; set; }
|
2011-05-10 06:32:33 +00:00
|
|
|
|
|
|
|
|
|
//View & Edit
|
|
|
|
|
[DisplayName("Path")]
|
2011-08-04 06:59:08 +00:00
|
|
|
|
[Description("Where should NzbDrone store episodes for this series?")]
|
2011-05-10 06:32:33 +00:00
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Quality Profile")]
|
2011-08-04 06:59:08 +00:00
|
|
|
|
[Description("Which Quality Profile should NzbDrone use to download episodes?")]
|
2011-05-10 06:32:33 +00:00
|
|
|
|
public virtual int QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
|
|
//Editing Only
|
|
|
|
|
[DisplayName("Use Season Folder")]
|
2011-08-04 06:59:08 +00:00
|
|
|
|
[Description("Should downloaded episodes be stored in season folders?")]
|
2011-05-10 06:32:33 +00:00
|
|
|
|
public bool SeasonFolder { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Monitored")]
|
2011-08-04 06:59:08 +00:00
|
|
|
|
[Description("Should NzbDrone download episodes for this series?")]
|
2011-05-16 06:27:02 +00:00
|
|
|
|
public bool Monitored { get; set; }
|
2011-06-05 05:23:50 +00:00
|
|
|
|
|
|
|
|
|
[DisplayName("Season Editor")]
|
|
|
|
|
public List<SeasonEditModel> SeasonEditor { get; set; }
|
2011-05-10 06:32:33 +00:00
|
|
|
|
}
|
|
|
|
|
}
|