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.
40 lines
866 B
40 lines
866 B
package hs.fulda.de.ci.exam.project;
|
|
|
|
public class Seat {
|
|
private SeatClass seatClass;
|
|
private SeatType seatType;
|
|
private String seatNumber;
|
|
|
|
public Seat(String seatNumber, SeatType seatType, SeatClass seatClass) {
|
|
this.seatNumber = seatNumber;
|
|
this.seatType = seatType;
|
|
this.seatClass = seatClass;
|
|
}
|
|
public Seat(){
|
|
|
|
}
|
|
|
|
public SeatClass getSeatClass() {
|
|
return seatClass;
|
|
}
|
|
|
|
public void setSeatClass(SeatClass seatClass) {
|
|
this.seatClass = seatClass;
|
|
}
|
|
|
|
public SeatType getSeatType() {
|
|
return seatType;
|
|
}
|
|
|
|
public void setSeatType(SeatType seatType) {
|
|
this.seatType = seatType;
|
|
}
|
|
|
|
public String getSeatNumber() {
|
|
return seatNumber;
|
|
}
|
|
|
|
public void setSeatNumber(String seatNumber) {
|
|
this.seatNumber = seatNumber;
|
|
}
|
|
}
|