Sonarr/NzbDrone.Core/Repository/Quality/QualityProfile.cs

22 lines
644 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository.Quality
{
public class QualityProfile
{
[SubSonicPrimaryKey(true)]
public int ProfileId { get; set; }
public string Name { get; set; }
public bool UserProfile { get; set; } //Allows us to tell the difference between default and user profiles
[SubSonicToManyRelation]
public virtual List<AllowedQuality> Allowed { get; private set; }
[SubSonicIgnore]
public List<AllowedQuality> AllowedQualities { get; set; }
}
}