using FoodShop.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;

namespace FoodShop.Data
{
    public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
            : base(options)
        {
        }

        public DbSet<FoodShop.Models.Country> Countries { get; set; }
        public DbSet<FoodShop.Models.Banner> Banners { get; set; }
        public DbSet<FoodShop.Models.Notizia> Notizias { get; set; }

        public DbSet<Category> Categories { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<ProductAlternate> ProductAlternates { get; set; }
        public DbSet<TaxCode> TaxCodes { get; set; }
        public DbSet<Supplier> Suppliers { get; set; }

    }
}