mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +02:00
Rearanged episodes object, added method stubs
This commit is contained in:
@@ -8,18 +8,12 @@ namespace NzbDrone.Core.Repository
|
||||
{
|
||||
[SubSonicPrimaryKey]
|
||||
public string EpisodeId { get; set; }
|
||||
|
||||
public string SeriesId { get; set; }
|
||||
public long SeriesId { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Title2 { get; set; }
|
||||
public int Season { get; set; }
|
||||
public long Season { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public int EpisodeNumber2 { get; set; }
|
||||
public DateTime AirDate { get; set; }
|
||||
public string Release { get; set; }
|
||||
public int Quality { get; set; }
|
||||
public Quality Quality { get; set; }
|
||||
public bool Proper { get; set; }
|
||||
public String FileName { get; set; }
|
||||
public SyndicationItem Feed { get; set; }
|
||||
}
|
||||
}
|
11
NzbDrone.Core/Repository/LocalEpisode.cs
Normal file
11
NzbDrone.Core/Repository/LocalEpisode.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.ServiceModel.Syndication;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
public class LocalEpisode : Episode
|
||||
{
|
||||
public String Path { get; set; }
|
||||
}
|
||||
}
|
12
NzbDrone.Core/Repository/RemoteEpisode.cs
Normal file
12
NzbDrone.Core/Repository/RemoteEpisode.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.ServiceModel.Syndication;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
public class RemoteEpisode : Episode
|
||||
{
|
||||
[SubSonicIgnore]
|
||||
public SyndicationItem Feed { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user