mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-29 03:05:49 +00:00
ff44d05a72
class variables for _settingsSaved, _settingsFailed to easily change all error messages when saving
31 lines
641 B
C#
31 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;
|
|
}
|
|
}
|
|
}
|