NadekoBot/NadekoBot.Core/Services/Database/Models/DbEntity.cs
2017-09-30 00:46:33 +02:00

13 lines
268 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace NadekoBot.Services.Database.Models
{
public class DbEntity
{
[Key]
public int Id { get; set; }
public DateTime? DateAdded { get; set; } = DateTime.UtcNow;
}
}