Lidarr/NzbDrone.Services.Api/SceneMapping/SceneMappingModel.cs

32 lines
766 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
2013-02-01 04:18:11 +00:00
using MongoDB.Bson;
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; }
public string CleanTitle { get; set; }
2013-02-01 04:18:11 +00:00
[JsonProperty(PropertyName = "Id")]
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; }
}
}