sonarr-repo-only/NzbDrone.Web/Models/AddNewSeriesModel.cs

18 lines
490 B
C#
Raw Normal View History

2011-03-07 07:48:47 +00:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
2011-03-07 07:48:47 +00:00
using System.Linq;
using System.Web;
namespace NzbDrone.Web.Models
{
public class AddNewSeriesModel
2011-03-07 07:48:47 +00:00
{
[Required(ErrorMessage = "Please enter a series name")]
[DataType(DataType.Text)]
[DisplayName("Single Series Path")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SeriesName { get; set; }
2011-03-07 07:48:47 +00:00
}
}