2013-02-23 21:29:22 +00:00
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Linq;
|
2013-02-18 03:18:25 +00:00
|
|
|
|
using Newtonsoft.Json;
|
2013-02-05 04:07:07 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Datastore
|
|
|
|
|
{
|
2013-02-23 21:29:22 +00:00
|
|
|
|
[DebuggerDisplay("ID = {OID}")]
|
2013-02-18 03:18:25 +00:00
|
|
|
|
public abstract class ModelBase
|
2013-02-05 04:07:07 +00:00
|
|
|
|
{
|
2013-02-16 04:03:54 +00:00
|
|
|
|
[PetaPoco.Ignore]
|
2013-02-18 03:18:25 +00:00
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
2013-02-17 01:52:40 +00:00
|
|
|
|
public int OID { get; set; }
|
2013-02-05 04:07:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|