mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Renamed SceneNameMapping to SceneMapping.
SceneMappingProvider moved to PetaPoco.
This commit is contained in:
parent
310c317361
commit
ab26d2dd61
11 changed files with 63 additions and 50 deletions
21
NzbDrone.Core/Repository/SceneMapping.cs
Normal file
21
NzbDrone.Core/Repository/SceneMapping.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using PetaPoco;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
[TableName("SceneMappings")]
|
||||
[PrimaryKey("CleanTitle", autoIncrement = false)]
|
||||
public class SceneMapping
|
||||
{
|
||||
[SubSonicPrimaryKey]
|
||||
public virtual string CleanTitle { get; set; }
|
||||
|
||||
public virtual int SeriesId { get; set; }
|
||||
|
||||
public virtual string SceneName { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue