mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-11 13:32:42 +01:00
636f352599
UI cleanup for adding series (new, existing and manual).
23 lines
642 B
C#
23 lines
642 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using NzbDrone.Core.Repository;
|
|
|
|
namespace NzbDrone.Web.Models
|
|
{
|
|
public class AddNewSeriesModel
|
|
{
|
|
[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; }
|
|
}
|
|
} |