Sonarr/NzbDrone.Core/Repository/SceneMapping.cs

21 lines
533 B
C#
Raw Normal View History

using Newtonsoft.Json;
using PetaPoco;
namespace NzbDrone.Core.Repository
{
[TableName("SceneMappings")]
[PrimaryKey("CleanTitle", autoIncrement = false)]
public class SceneMapping
{
public string CleanTitle { get; set; }
[JsonProperty(PropertyName = "Id")]
public int SeriesId { get; set; }
[JsonProperty(PropertyName = "Title")]
public string SceneName { get; set; }
2012-12-25 08:05:13 +00:00
[JsonProperty(PropertyName = "Season")]
public int SeasonNumber { get; set; }
}
}