2013-01-31 02:02:13 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
2013-02-01 04:18:11 +00:00
|
|
|
|
using MongoDB.Bson;
|
2013-01-31 02:02:13 +00:00
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Services.Api.SceneMapping
|
|
|
|
|
{
|
|
|
|
|
public class SceneMappingModel
|
|
|
|
|
{
|
|
|
|
|
public const string CollectionName = "SceneMappings";
|
|
|
|
|
|
|
|
|
|
[BsonId]
|
2013-02-01 04:18:11 +00:00
|
|
|
|
public ObjectId MapId { get; set; }
|
2013-01-31 02:02:13 +00:00
|
|
|
|
|
|
|
|
|
public string CleanTitle { get; set; }
|
|
|
|
|
|
2013-02-01 04:18:11 +00:00
|
|
|
|
[JsonProperty(PropertyName = "Id")]
|
2013-01-31 02:02:13 +00:00
|
|
|
|
public int SeriesId { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "Title")]
|
|
|
|
|
public string SceneName { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "Season")]
|
|
|
|
|
public int SeasonNumber { get; set; }
|
2013-02-01 04:18:11 +00:00
|
|
|
|
|
|
|
|
|
public Boolean Public { get; set; }
|
2013-01-31 02:02:13 +00:00
|
|
|
|
}
|
|
|
|
|
}
|