Added Db stuff

This commit is contained in:
Toastie 2024-05-14 23:08:36 +12:00
parent 545786e23e
commit 9fff64f951
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
87 changed files with 2881 additions and 0 deletions
src/EllieBot/Db/Models

View file

@ -0,0 +1,12 @@
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace EllieBot.Db.Models;
public class DbEntity
{
[Key]
public int Id { get; set; }
public DateTime? DateAdded { get; set; } = DateTime.UtcNow;
}