2010-09-23 03:19:47 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2011-01-29 06:10:22 +00:00
|
|
|
|
using NzbDrone.Core.Model;
|
|
|
|
|
using NzbDrone.Core.Repository;
|
2010-09-23 03:19:47 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
|
{
|
|
|
|
|
|
2010-09-24 05:21:45 +00:00
|
|
|
|
public class SettingsModel
|
2010-09-23 03:19:47 +00:00
|
|
|
|
{
|
2011-01-29 06:10:22 +00:00
|
|
|
|
|
2010-09-24 06:16:43 +00:00
|
|
|
|
[DataType(DataType.Text)]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[Required(ErrorMessage = "Please enter a valid TV path")]
|
2010-09-24 06:16:43 +00:00
|
|
|
|
[DisplayName("TV Folder")]
|
|
|
|
|
public String TvFolder
|
2010-09-24 05:21:45 +00:00
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
2011-01-31 07:42:44 +00:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("Initial Quality")]
|
|
|
|
|
public int Quality
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
2010-09-23 03:19:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|