Created Order, Refund, Shipping

This commit is contained in:
Khwezi Mngoma
2026-05-26 08:24:38 +02:00
parent 20b747e89c
commit 70860efcfb
19 changed files with 320 additions and 11 deletions
@@ -1,6 +1,7 @@
using LiteCharms.Features.MidrandBooks.AuthorBooks.Entities;
using LiteCharms.Features.MidrandBooks.Authors.Entities;
using LiteCharms.Features.MidrandBooks.Customers.Entities;
using LiteCharms.Features.MidrandBooks.Orders.Entities;
using LiteCharms.Features.MidrandBooks.Pages.Entities;
using LiteCharms.Features.MidrandBooks.Products.Entities;
@@ -23,4 +24,14 @@ public class MidrandBooksDbContext(DbContextOptions<MidrandBooksDbContext> optio
public DbSet<Address> Addresses => Set<Address>();
public DbSet<Customer> Customers => Set<Customer>();
public DbSet<Order> Orders => Set<Order>();
public DbSet<OrderItem> OrderItems => Set<OrderItem>();
public DbSet<Refund> Refunds => Set<Refund>();
public DbSet<Shipping> Shippings => Set<Shipping>();
public DbSet<ShippingProvider> ShippingProviders => Set<ShippingProvider>();
}