* 🆕 Added support for brand discounts in `CalculateOrderDiscountCommandHandler` * 🏷️ Updated `DiscountCommands` class to include `BrandId` property * 🏗️ Introduced `BrandDiscount` class in `Discount.Aggregate.cs` with `Create` method * 🛠️ Modified `Order` class in `Order.Aggregate.cs` to handle `BrandId` * 🏷️ Updated `OrderProduct` class in `Order.Aggregate.cs` to include `BrandId` property * 🆕 Added `Brand` discount type to `DiscountType` enum * ✨ Enhanced `CreateDiscountCommandHandler` and `UpdateDiscountCommandHandler` for brand discounts * 🆕 Introduced `BrandDiscount` class in `BrandDiscount.cs` to represent brand-specific discounts Changes made by Amir.h Khademi |
||
|---|---|---|
| .. | ||
| CommandQueries | ||
| DocumentEntities | ||
| Dtos | ||
| Entities | ||
| Enums | ||
| Extensions | ||
| Mappers | ||
| MartenEntities | ||
| Models | ||
| DomainConfig.cs | ||
| FodyWeavers.xml | ||
| MapsterRegister.cs | ||
| Netina.Domain.csproj | ||