2011-03-07 07:48:47 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2011-03-07 08:25:38 +00:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2011-03-07 07:48:47 +00:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
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-07 07:48:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|