2011-03-07 08:48:47 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2011-03-07 09:25:38 +01:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2011-03-07 08:48:47 +01:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
2011-03-28 22:22:12 +02:00
|
|
|
|
using System.Web.Mvc;
|
2011-03-17 08:40:23 +01:00
|
|
|
|
using NzbDrone.Core.Repository;
|
2011-03-07 08:48:47 +01:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
|
{
|
2011-03-10 08:49:59 +01:00
|
|
|
|
public class AddNewSeriesModel
|
2011-03-07 08:48:47 +01:00
|
|
|
|
{
|
2011-03-10 08:49:59 +01:00
|
|
|
|
[Required(ErrorMessage = "Please enter a series name")]
|
2011-03-07 09:25:38 +01:00
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("Single Series Path")]
|
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-03-10 08:49:59 +01:00
|
|
|
|
public string SeriesName { get; set; }
|
2011-03-17 08:40:23 +01:00
|
|
|
|
|
|
|
|
|
public string DirectorySeparatorChar { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<RootDir> RootDirectories { get; set; }
|
2011-03-28 22:22:12 +02:00
|
|
|
|
|
|
|
|
|
[DisplayName("Quality Profile")]
|
|
|
|
|
public int QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
|
|
public SelectList QualitySelectList { get; set; }
|
2011-03-07 08:48:47 +01:00
|
|
|
|
}
|
|
|
|
|
}
|