mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
ff44d05a72
class variables for _settingsSaved, _settingsFailed to easily change all error messages when saving
32 lines
641 B
C#
32 lines
641 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using NzbDrone.Core.Model;
|
|
using NzbDrone.Core.Repository;
|
|
|
|
namespace NzbDrone.Web.Models
|
|
{
|
|
|
|
public class SettingsModel
|
|
{
|
|
|
|
[DataType(DataType.Text)]
|
|
[Required(ErrorMessage = "Please enter a valid TV path")]
|
|
[DisplayName("TV Folder")]
|
|
public String TvFolder
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("Initial Quality")]
|
|
public int Quality
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|