Quality Config, Dynamically add new User Profiles, just need to get them to save.

This commit is contained in:
markus101 2011-02-05 10:27:14 -08:00
commit be6bdbc483
6 changed files with 61 additions and 4 deletions

View file

@ -9,10 +9,12 @@ namespace NzbDrone.Core.Repository.Quality
{
[SubSonicPrimaryKey(true)]
public int ProfileId { get; set; }
[DisplayName("Name")]
public string Name { get; set; }
public bool UserProfile { get; set; } //Allows us to tell the difference between default and user profiles
[SubSonicIgnore]
[DisplayName("Allowed Qualities")]
public List<QualityTypes> Allowed { get; set; }
public QualityTypes Cutoff { get; set; }