Api/Netina.Repository/Handlers/Discounts
Amir Hossein Khademi 96feec0b26 Add support for brand-based discounts
* 🆕 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
2025-03-23 09:40:55 +03:30
..
Validators feat : refactor , version 0.27.31.52 , fix issues 2024-05-07 11:01:55 +03:30
CreateDiscountCommandHandler.cs Add support for brand-based discounts 2025-03-23 09:40:55 +03:30
DeleteDiscountCommandHandler.cs fix files 2024-08-09 21:55:16 +03:30
GetDiscountQueryHandler.cs fix files 2024-08-09 21:55:16 +03:30
GetDiscountsQueryHandler.cs fix files 2024-08-09 21:55:16 +03:30
UpdateDiscountCommandHandler.cs Add support for brand-based discounts 2025-03-23 09:40:55 +03:30