mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
09665c2920
New: WEBDL 720p and 1080p are now separated
55 lines
No EOL
1.6 KiB
C#
55 lines
No EOL
1.6 KiB
C#
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Web.Mvc;
|
|
using NzbDrone.Core.Repository.Quality;
|
|
using PetaPoco;
|
|
|
|
namespace NzbDrone.Web.Models
|
|
{
|
|
public class QualityProfileModel
|
|
{
|
|
public int QualityProfileId { get; set; }
|
|
|
|
[Required(ErrorMessage = "A Name is Required")]
|
|
[DisplayName("Name")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public string Name { get; set; }
|
|
|
|
[DisplayName("Cut-off")]
|
|
[Required(ErrorMessage = "Valid Cut-off is Required")]
|
|
public int Cutoff { get; set; }
|
|
|
|
[DisplayName("Allowed Qualities")]
|
|
public List<QualityTypes> Allowed { get; set; }
|
|
|
|
//Quality Booleans
|
|
[DisplayName("SDTV")]
|
|
public bool Sdtv { get; set; }
|
|
public int SdtvId { get; set; }
|
|
|
|
[DisplayName("DVD")]
|
|
public bool Dvd { get; set; }
|
|
public int DvdId { get; set; }
|
|
|
|
[DisplayName("HDTV")]
|
|
public bool Hdtv { get; set; }
|
|
public int HdtvId { get; set; }
|
|
|
|
[DisplayName("WEBDL-720p")]
|
|
public bool Webdl720p { get; set; }
|
|
public int Webdl720pId { get; set; }
|
|
|
|
[DisplayName("WEBDL-1080p")]
|
|
public bool Webdl1080p { get; set; }
|
|
public int Webdl1080pId { get; set; }
|
|
|
|
[DisplayName("Bluray720p")]
|
|
public bool Bluray720p { get; set; }
|
|
public int Bluray720pId { get; set; }
|
|
|
|
[DisplayName("Bluray1080p")]
|
|
public bool Bluray1080p { get; set; }
|
|
public int Bluray1080pId { get; set; }
|
|
}
|
|
} |