2011-04-10 04:44:01 +02:00
|
|
|
|
using System.ComponentModel;
|
2011-03-03 02:16:48 +01:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2011-02-26 05:07:22 +01:00
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
|
{
|
|
|
|
|
public class EpisodeSortingModel
|
|
|
|
|
{
|
2011-03-03 02:16:48 +01:00
|
|
|
|
[DisplayName("Show Name")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public bool ShowName { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Episode Name")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public bool EpisodeName { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Replace Spaces")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public bool ReplaceSpaces { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Append Quality")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public bool AppendQuality { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Use Air By Date")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public bool UseAirByDate { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Use Season Folders")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public bool SeasonFolders { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Season Folder Format")]
|
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
|
[Display(Description = "This is a Description")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public string SeasonFolderFormat { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Separator Style")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public int SeparatorStyle { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Numbering Style")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public int NumberStyle { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
|
|
|
|
[DisplayName("Multi-Episode Style")]
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public int MultiEpisodeStyle { get; set; }
|
2011-03-03 02:16:48 +01:00
|
|
|
|
|
2011-02-26 05:07:22 +01:00
|
|
|
|
public SelectList SeparatorStyles { get; set; }
|
|
|
|
|
public SelectList NumberStyles { get; set; }
|
|
|
|
|
public SelectList MultiEpisodeStyles { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|