1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-29 11:05:44 +00:00
Lidarr/NzbDrone.Web/Models/AddNewSeriesModel.cs

26 lines
764 B
C#
Raw Normal View History

2011-04-10 02:44:01 +00:00
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using NzbDrone.Core.Repository;
2011-03-07 07:48:47 +00:00
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; }
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-07 07:48:47 +00:00
}
}