NadekoBot/NadekoBot.Core/Services/Database/Models/DbEntity.cs

13 lines
273 B
C#
Raw Normal View History

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