mirror of https://github.com/lidarr/Lidarr
Removed some unused models from NzbDrone.Web
This commit is contained in:
parent
b8ac694fc4
commit
121f3258af
|
@ -1,26 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Web.Mvc;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class AddNewSeriesModel
|
||||
{
|
||||
[Required(ErrorMessage = "Please enter a series name")]
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Single Series Path")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string SeriesName { get; set; }
|
||||
|
||||
public string DirectorySeparatorChar { get; set; }
|
||||
|
||||
public List<RootDir> RootDirectories { get; set; }
|
||||
|
||||
[DisplayName("Quality Profile")]
|
||||
public int QualityProfileId { get; set; }
|
||||
|
||||
public SelectList QualitySelectList { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class MappingModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public String Path { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using NzbDrone.Core.Repository.Quality;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class QualityTypeModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public QualityTypes Name { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class RootDirModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Path { get; set; }
|
||||
public string CleanPath { get; set; }
|
||||
public SelectList SelectList { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class SeasonEditModel
|
||||
{
|
||||
public int SeriesId { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public string SeasonString { get; set; }
|
||||
public bool Monitored { get; set; }
|
||||
}
|
||||
}
|
|
@ -42,8 +42,5 @@ namespace NzbDrone.Web.Models
|
|||
[DisplayName("Monitored")]
|
||||
[Description("Should NzbDrone download episodes for this series?")]
|
||||
public bool Monitored { get; set; }
|
||||
|
||||
[DisplayName("Season Editor")]
|
||||
public List<SeasonEditModel> SeasonEditor { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,11 +1,8 @@
|
|||
using System;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class SeriesSearchResultModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
public DateTime FirstAired { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class SettingsModel
|
||||
{
|
||||
[DisplayName("TV Series Root Folder(s)")]
|
||||
public List<RootDir> Directories { get; set; }
|
||||
}
|
||||
}
|
|
@ -231,26 +231,20 @@
|
|||
<Compile Include="Models\QualityProfileModel.cs" />
|
||||
<Compile Include="Models\FooterModel.cs" />
|
||||
<Compile Include="Models\ExistingSeriesModel.cs" />
|
||||
<Compile Include="Models\AddNewSeriesModel.cs" />
|
||||
<Compile Include="Models\JobQueueItemModel.cs" />
|
||||
<Compile Include="Models\NotificationResult.cs" />
|
||||
<Compile Include="Models\PendingProcessingModel.cs" />
|
||||
<Compile Include="Models\ProwlPrioritySelectListModel.cs" />
|
||||
<Compile Include="Models\QualityTypeModel.cs" />
|
||||
<Compile Include="Models\RootDirModel.cs" />
|
||||
<Compile Include="Models\SabnzbdSettingsModel.cs" />
|
||||
<Compile Include="Models\EpisodeNamingModel.cs" />
|
||||
<Compile Include="Models\HistoryModel.cs" />
|
||||
<Compile Include="Models\IndexerSettingsModel.cs" />
|
||||
<Compile Include="Models\MappingModel.cs" />
|
||||
<Compile Include="Models\EpisodeModel.cs" />
|
||||
<Compile Include="Models\MissingEpisodeModel.cs" />
|
||||
<Compile Include="Models\NotificationSettingsModel.cs" />
|
||||
<Compile Include="Models\QualityModel.cs" />
|
||||
<Compile Include="Models\SeasonEditModel.cs" />
|
||||
<Compile Include="Models\SeriesModel.cs" />
|
||||
<Compile Include="Models\SeriesSearchResultModel.cs" />
|
||||
<Compile Include="Models\SettingsModels.cs" />
|
||||
<Compile Include="Models\SystemSettingsModel.cs" />
|
||||
<Compile Include="Models\TvDbSearchResultModel.cs" />
|
||||
<Compile Include="Models\UpcomingEpisodeModel.cs" />
|
||||
|
|
Loading…
Reference in New Issue