mirror of https://github.com/Sonarr/Sonarr
22 lines
644 B
C#
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; }
|
|
}
|
|
}
|