83f51c6a23
Added shopping cart and items Added quotes Refactored relatinoships Migrated changes Refactored cqrs commands and queries Refactored mappings
27 lines
732 B
C#
27 lines
732 B
C#
using LiteCharms.Entities;
|
|
|
|
namespace LiteCharms.Infrastructure.Database;
|
|
|
|
public class LeadGeneratorDbContext(DbContextOptions<LeadGeneratorDbContext> 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; }
|
|
}
|