シナリオ
Design the core domain classes for a dating app's chat and notification system.
この図に含まれるもの
図の背後にある意思決定を読み解く。
01
Use abstract User class with RegularUser and PremiumUser subclasses
02
Model Chat and Message as separate classes with composition
03
Notification class associated with User and triggered by events like messages or likes
When building the data model for a real-time messaging and notification service in a mobile social app.