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