using Domain.Aggregates.Stores;
using Domain.Aggregates.Users;
using Domain.Aggregates.Products;
using Microsoft.EntityFrameworkCore;

namespace Persistence;

public class DatabaseContext: DbContext
{
    public DatabaseContext(DbContextOptions options) : base(options)
    {
        Database.EnsureCreated();
    }


    public DbSet<User> Users { get; set; }
    public DbSet<Store> Stores { get; set; }
    public DbSet<Product> Products { get; set; }

}
