Completed initial database design
continuous-integration/drone/pr Build is passing

Sealed qualifying public classes
Migrated database changes
This commit is contained in:
Khwezi Mngoma
2026-05-27 09:12:04 +02:00
parent 70860efcfb
commit 902942eee6
86 changed files with 2883 additions and 140 deletions
@@ -1,5 +1,11 @@
namespace LiteCharms.Features.MidrandBooks.Orders.Models;
public record CreateOrder(long CustomerId, decimal TotalPrice, string? Notes);
public sealed record CreateOrder(long CustomerId, decimal TotalPrice, string? Notes);
public record CreateOrderItem(long AuthorBookId, long ProductPriceId, int Quantity);
public sealed record CreateOrderItem(long AuthorBookId, long ProductPriceId, int Quantity);
public sealed record CreateShipping(long OrderId, long AddressId, long ShippingProviderId, string? TrackingNumber);
public sealed record CreateShippingProvider(ShippingProviderTypes Type, string Name, decimal Price, string TrackingUrl);
public sealed record UpdateShippingProvider(long ProviderId, bool Enabled, string Name, decimal Price, string TrackingUrl);