1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-25 11:13:39 +02:00
Sonarr/NzbDrone.Web/Models/AddNewSeriesModel.cs

29 lines
815 B
C#
Raw Normal View History

2011-03-06 23:48:47 -08:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
2011-03-06 23:48:47 -08:00
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NzbDrone.Core.Repository;
2011-03-06 23:48:47 -08:00
namespace NzbDrone.Web.Models
{
public class AddNewSeriesModel
2011-03-06 23:48:47 -08:00
{
[Required(ErrorMessage = "Please enter a series name")]
[DataType(DataType.Text)]
[DisplayName("Single Series Path")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SeriesName { get; set; }
public string DirectorySeparatorChar { get; set; }
public List<RootDir> RootDirectories { get; set; }
[DisplayName("Quality Profile")]
public int QualityProfileId { get; set; }
public SelectList QualitySelectList { get; set; }
2011-03-06 23:48:47 -08:00
}
}