This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using LiteCharms.Features.TechShop.CartPackages.Entities;
|
||||
using LiteCharms.Features.TechShop.Customers.Entities;
|
||||
using LiteCharms.Features.TechShop.Leads.Entities;
|
||||
using LiteCharms.Features.TechShop.Notifications.Entities;
|
||||
using LiteCharms.Features.TechShop.Orders.Entities;
|
||||
using LiteCharms.Features.TechShop.Products.Entities;
|
||||
using LiteCharms.Features.TechShop.Quotes.Entities;
|
||||
using LiteCharms.Features.TechShop.ShoppingCarts.Entities;
|
||||
|
||||
namespace LiteCharms.Features.TechShop.Postgres;
|
||||
|
||||
public class ShopDbContext(DbContextOptions<ShopDbContext> options) : DbContext(options)
|
||||
{
|
||||
public DbSet<Customer> Customers { get; set; }
|
||||
|
||||
public DbSet<Lead> Leads { get; set; }
|
||||
|
||||
public DbSet<Order> Orders { get; set; }
|
||||
|
||||
public DbSet<OrderRefund> OrderRefunds { get; set; }
|
||||
|
||||
public DbSet<Product> Products { get; set; }
|
||||
|
||||
public DbSet<ProductPrice> ProductPrices { get; set; }
|
||||
|
||||
public DbSet<Notification> Notifications { get; set; }
|
||||
|
||||
public DbSet<Quote> Quotes { get; set; }
|
||||
|
||||
public DbSet<ShoppingCart> ShoppingCarts { get; set; }
|
||||
|
||||
public DbSet<ShoppingCartItem> ShoppingCartItems { get; set; }
|
||||
|
||||
public DbSet<Package> Packages { get; set; }
|
||||
|
||||
public DbSet<PackageItem> PackageItems { get; set; }
|
||||
|
||||
public DbSet<ShoppingCartPackage> ShoppingCartPackages { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user