mirror of
https://github.com/Radarr/Radarr
synced 2024-12-24 17:01:38 +00:00
6e66a7a27f
Split out settings model to support validation.
23 lines
No EOL
634 B
C#
23 lines
No EOL
634 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using NzbDrone.Core.Repository.Quality;
|
|
|
|
namespace NzbDrone.Web.Models
|
|
{
|
|
public class QualityModel
|
|
{
|
|
public List<QualityProfile> Profiles { get; set; }
|
|
public List<QualityProfile> UserProfiles { get; set; }
|
|
//public List<QualityTypes> Qualities { get; set; }
|
|
|
|
[DisplayName("Default Quality Profile")]
|
|
public int DefaultProfileId { get; set; }
|
|
|
|
public SelectList SelectList { get; set; }
|
|
}
|
|
} |