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