2016-02-29 18:28:16 +01:00

13 lines
343 B
C#

using SQLite;
using System;
namespace NadekoBot.Classes._DataModels {
internal abstract class IDataModel {
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[Newtonsoft.Json.JsonProperty("createdAt")]
public DateTime DateAdded { get; set; } = DateTime.Now;
public IDataModel() { }
}
}