Amazon interview question

Design a reservation system for a restaurant