mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
6e66a7a27f
Split out settings model to support validation.
23 lines
634 B
C#
23 lines
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; }
|
|
}
|
|
} |