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