Lidarr/NzbDrone.Web/Models/SettingsModels.cs

32 lines
641 B
C#
Raw Normal View History

2010-09-23 03:19:47 +00:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
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
{
[DataType(DataType.Text)]
[Required(ErrorMessage = "Please enter a valid TV path")]
[DisplayName("TV Folder")]
public String TvFolder
2010-09-24 05:21:45 +00:00
{
get;
set;
}
[DataType(DataType.Text)]
[DisplayName("Initial Quality")]
public int Quality
{
get;
set;
}
2010-09-23 03:19:47 +00:00
}
}