O cenário
A retail chain runs a loyalty program where customers earn points on purchases and receive targeted coupons from campaigns that can be redeemed during future transactions.
O que há neste desenho
Entenda as decisões por trás dele.
01
Separate LoyaltyAccount from Customer to track tier and points balance without overloading the customer table.
02
Use CouponRedemption as an associative entity to record which coupon was applied to which purchase and when.
03
Link Coupon to Customer and Campaign so each issued coupon is traceable to its recipient and promotion.
Use when modeling coupon issuance, redemption, and loyalty point accrual for retail or e-commerce promotional systems.