Api/Netina.Domain/Entities/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
..
BrandDiscount.cs Add support for brand-based discounts 2025-03-23 09:40:55 +03:30
CategoryDiscount.cs feat : add slug to blog and products , refactor domain project 2024-04-22 13:33:39 +03:30
Discount.Aggregate.cs Add support for brand-based discounts 2025-03-23 09:40:55 +03:30
Discount.cs Add MetaTags support and update project configurations 2024-12-11 00:25:26 +03:30
ProductDiscount.cs feat : add slug to blog and products , refactor domain project 2024-04-22 13:33:39 +03:30