RRRRHHHH_Code
Diff Revisions
e0d74d ...
vs
06a849 ...
for ruralHouses/src/domain/Booking.java
|
@@ -13,12 +13,13 @@ |
13 |
13 |
|
private String telephone; |
14 |
14 |
|
private Offer offer; |
15 |
15 |
|
|
|
16 |
+ |
|
16 |
17 |
|
public Booking() { |
17 |
18 |
|
} |
18 |
19 |
|
|
19 |
|
- |
public Booking(String telephone, Offer offer) { |
|
20 |
+ |
public Booking(int bN ,String telephone, Offer offer) { |
20 |
21 |
|
|
21 |
|
- |
this.bookingNumber = BookingManager.getNumber(); |
|
22 |
+ |
this.bookingNumber = bN; |
22 |
23 |
|
this.telephone=telephone; |
23 |
24 |
|
this.offer = offer; |
24 |
25 |
|
//this.price = price; |