Move database context, migrations and models to separate project.

This commit is contained in:
2024-05-03 22:18:49 +01:00
parent 16d72acb6a
commit 7bcaf5b1b0
163 changed files with 415 additions and 311 deletions

View File

@@ -0,0 +1,9 @@
using System.ComponentModel.DataAnnotations;
namespace Aaru.Server.Database.Models;
public abstract class BaseModel<T>
{
[Key]
public T Id { get; set; }
}