The scenario
Designing the class model for a pairing app that handles user profiles and the swipe-to-match mechanism.
What is in this drawing
Read the decisions behind it.
01
Modeled Swipe with separate swiper/swipee associations
02
Used composition for User-Profile relationship
03
Introduced SwipeDirection enumeration for clarity
When building the backend for a dating or matching application.
More like this