mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
23 lines
427 B
C#
23 lines
427 B
C#
using System.Diagnostics;
|
|
using System.Linq;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace NzbDrone.Core.Datastore
|
|
{
|
|
[DebuggerDisplay("{GetType()} ID = {Id}")]
|
|
public abstract class ModelBase
|
|
{
|
|
[PetaPoco.Ignore]
|
|
|
|
[JsonIgnore]
|
|
public int Id
|
|
{
|
|
get { return OID; }
|
|
set { OID = value; }
|
|
}
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
|
private int OID;
|
|
}
|
|
}
|