mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
deleted some old files. updated some ui
This commit is contained in:
parent
386bc90ae4
commit
d310c06f2e
107 changed files with 446 additions and 664 deletions
|
@ -9,7 +9,7 @@ namespace NzbDrone.Core.Repository.Quality
|
|||
public class QualityProfile
|
||||
{
|
||||
[SubSonicPrimaryKey(true)]
|
||||
public int QualityProfileId { get; set; }
|
||||
public virtual int QualityProfileId { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "A Name is Required")]
|
||||
[DisplayName("Name")]
|
||||
|
@ -26,8 +26,8 @@ namespace NzbDrone.Core.Repository.Quality
|
|||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string AllowedString { get; set; }
|
||||
|
||||
[DisplayName("Cutoff")]
|
||||
[Required(ErrorMessage = "Valid Cutoff is Required")]
|
||||
[DisplayName("Cut-off")]
|
||||
[Required(ErrorMessage = "Valid Cut-off is Required")]
|
||||
public QualityTypes Cutoff { get; set; }
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace NzbDrone.Core.Repository
|
|||
{
|
||||
public class RootDir
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public virtual int Id { get; set; }
|
||||
|
||||
public string Path { get; set; }
|
||||
}
|
||||
|
|
|
@ -8,10 +8,10 @@ namespace NzbDrone.Core.Repository
|
|||
{
|
||||
[SubSonicPrimaryKey(false)]
|
||||
public virtual int SeasonId { get; set; }
|
||||
public int SeriesId { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public virtual int SeriesId { get; set; }
|
||||
public virtual int SeasonNumber { get; set; }
|
||||
public bool Monitored { get; set; }
|
||||
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<Episode> Episodes { get; private set; }
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using NzbDrone.Core.Repository.Quality;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
|
||||
|
@ -20,6 +21,7 @@ namespace NzbDrone.Core.Repository
|
|||
[SubSonicLongString]
|
||||
public string Overview { get; set; }
|
||||
|
||||
[DisplayName("Air on")]
|
||||
public DayOfWeek? AirsDayOfWeek { get; set; }
|
||||
|
||||
public String AirTimes { get; set; }
|
||||
|
@ -30,11 +32,11 @@ namespace NzbDrone.Core.Repository
|
|||
|
||||
public bool Monitored { get; set; }
|
||||
|
||||
public int QualityProfileId { get; set; }
|
||||
public virtual int QualityProfileId { get; set; }
|
||||
|
||||
public bool SeasonFolder { get; set; }
|
||||
|
||||
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
||||
[SubSonicToOneRelation(ThisClassContainsJoinKey = true, JoinKeyName = "QualityProfileId")]
|
||||
public virtual QualityProfile QualityProfile { get; private set; }
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue