Class Reservation

java.lang.Object
eus.ehu.hotelreservation.domain.Reservation

@Entity public class Reservation extends Object
Represents a hotel room reservation made by a Customer.

Stores the date range, the assigned room, the amount due and the amount already paid (20% upfront). A unique reservation code is generated at creation time.