상황
Designing a class model for an airline reservation system, capturing passengers, flights, bookings, seats, tickets, and payment processing.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Inheritance for payment methods with abstract Payment and concrete CreditCardPayment
02
Composition between Flight and Seat to model seat allocation
03
Enumeration BookingStatus to enforce valid booking states
When modeling domain entities for airline, travel agency, or ticketing software systems.