|
@ -0,0 +1,19 @@ |
|
|
|
|
|
package hs.fulda.de.ci.exam.project; |
|
|
|
|
|
|
|
|
|
|
|
public class FlightSeat { |
|
|
|
|
|
private String reservationNumer; |
|
|
|
|
|
private double fare; |
|
|
|
|
|
|
|
|
|
|
|
public FlightSeat(double fare, String reservationNumer) { |
|
|
|
|
|
this.fare = fare; |
|
|
|
|
|
this.reservationNumer = reservationNumer; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public double getFare() { |
|
|
|
|
|
return this.fare; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getReservationNumber() { |
|
|
|
|
|
return this.reservationNumer; |
|
|
|
|
|
} |
|
|
|
|
|
} |