2012-02-07 05:08:07 +00:00
|
|
|
|
using System.Linq;
|
2011-09-14 02:25:33 +00:00
|
|
|
|
using PetaPoco;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository.Quality
|
|
|
|
|
{
|
|
|
|
|
[TableName("QualityTypes")]
|
|
|
|
|
[PrimaryKey("QualityTypeId", autoIncrement = false)]
|
|
|
|
|
public class QualityType
|
|
|
|
|
{
|
|
|
|
|
public int QualityTypeId { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
2011-09-16 04:42:30 +00:00
|
|
|
|
public int MinSize { get; set; }
|
|
|
|
|
public int MaxSize { get; set; }
|
2011-09-14 02:25:33 +00:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Name;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|