You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
454 B
20 lines
454 B
package hs.fulda.de.ci.exam.project;
|
|
|
|
public class FlightSeat extends Seat {
|
|
private String reservationNumer;
|
|
private double fare;
|
|
|
|
public FlightSeat(double fare, String reservationNumer) {
|
|
super();
|
|
this.fare = fare;
|
|
this.reservationNumer = reservationNumer;
|
|
}
|
|
|
|
public double getFare() {
|
|
return this.fare;
|
|
}
|
|
|
|
public String getReservationNumber() {
|
|
return this.reservationNumer;
|
|
}
|
|
}
|