|
|
@ -0,0 +1,37 @@ |
|
|
|
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 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; |
|
|
|
} |
|
|
|
} |