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

22 lines
644 B
C#
Raw Normal View History

2010-09-29 17:19:18 +00:00
using System;
using System.Collections.Generic;
2010-09-30 06:59:00 +00:00
using System.ComponentModel;
using SubSonic.SqlGeneration.Schema;
2010-09-29 17:19:18 +00:00
namespace NzbDrone.Core.Repository.Quality
2010-09-29 17:19:18 +00:00
{
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
2010-09-30 06:59:00 +00:00
[SubSonicToManyRelation]
public virtual List<AllowedQuality> Allowed { get; private set; }
2010-09-30 06:59:00 +00:00
[SubSonicIgnore]
public List<AllowedQuality> AllowedQualities { get; set; }
2010-09-29 17:19:18 +00:00
}
}