mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
SceneMapping added to Services API
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using MongoDB.Bson;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
@@ -13,21 +14,19 @@ namespace NzbDrone.Services.Api.SceneMapping
|
||||
public const string CollectionName = "SceneMappings";
|
||||
|
||||
[BsonId]
|
||||
public String Id { get; set; }
|
||||
public ObjectId MapId { get; set; }
|
||||
|
||||
[BsonElement("ct")]
|
||||
public string CleanTitle { get; set; }
|
||||
|
||||
[BsonElement("si")]
|
||||
[JsonProperty(PropertyName = "id")]
|
||||
[JsonProperty(PropertyName = "Id")]
|
||||
public int SeriesId { get; set; }
|
||||
|
||||
[BsonElement("sn")]
|
||||
[JsonProperty(PropertyName = "Title")]
|
||||
public string SceneName { get; set; }
|
||||
|
||||
[BsonElement("s")]
|
||||
[JsonProperty(PropertyName = "Season")]
|
||||
public int SeasonNumber { get; set; }
|
||||
|
||||
public Boolean Public { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user