示例#1
0
 public Reservation(
     BasicCustomer customer,
     RentalCarType carType,
     DateTime rentalDate,
     DateTime expectedReturnDate
     )
 {
     this.customer           = customer;
     this.rentalDate         = rentalDate;
     this.expectedReturnDate = expectedReturnDate;
     this.carType            = carType;
     cancelled = false;
 }