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

24 lines
595 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
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; }
public int MinSize { get; set; }
public int MaxSize { get; set; }
public override string ToString()
{
return Name;
}
}
}