ChatDiagram
database · ecommerce · system design

Large-Scale Flash Sale Coupon System ERD

Type Entity-Relationship Diagram (ERD)Standard Chen 1976 / Everest 1976 (crow's foot)Engine schematex-erdUpdated 8/20/2026
Large-Scale Flash Sale Coupon System ERD
Drawing preview
The scenario

Design the core data model for a large-scale flash sale platform that issues limited coupons, handles high-concurrency redemption, and records orders.

What is in this drawing

Read the decisions behind it.

01

Separated CouponTemplate from Coupon to support millions of generated coupon codes with shared rules

02

Linked UserCoupon to both User and Coupon to track redemption state per user

03

Modeled FlashSaleItem as an independent entity connecting flash events to coupon templates with dedicated stock counters

Reuse for any coupon-driven promotion system that needs to model inventory-limited coupons, per-user issuance limits, flash sale events, and order history.

More like this

Other examples in this family.

Browse all erd templates →