情境
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.