Refactored database references
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-05-09 16:58:34 +02:00
parent 6db6228bc9
commit ff34326a53
55 changed files with 73 additions and 73 deletions
@@ -0,0 +1,26 @@
using LiteCharms.Entities;
namespace LiteCharms.Infrastructure.Database;
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; }
}