📄 abstractflightschedule.java
字号:
package hibernate;
import java.util.HashSet;
import java.util.Set;
/**
* AbstractFlightSchedule generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractFlightSchedule implements java.io.Serializable {
// Fields
private String flightno;
private Airbus airbus;
private Fare fare;
private String departTime;
private String journeyHrs;
private Integer flightDay1;
private Integer firstSeatBk;
private Integer busSeat;
private Integer ecoSeatBk;
private Integer flightDay2;
private Set reservations = new HashSet();
// Constructors
/** default constructor */
public AbstractFlightSchedule() {
}
/** minimal constructor */
public AbstractFlightSchedule(String flightno) {
this.flightno = flightno;
}
/** full constructor */
public AbstractFlightSchedule(String flightno, Airbus airbus, Fare fare, String departTime, String journeyHrs, Integer flightDay1, Integer firstSeatBk, Integer busSeat, Integer ecoSeatBk, Integer flightDay2, Set reservations) {
this.flightno = flightno;
this.airbus = airbus;
this.fare = fare;
this.departTime = departTime;
this.journeyHrs = journeyHrs;
this.flightDay1 = flightDay1;
this.firstSeatBk = firstSeatBk;
this.busSeat = busSeat;
this.ecoSeatBk = ecoSeatBk;
this.flightDay2 = flightDay2;
this.reservations = reservations;
}
// Property accessors
public String getFlightno() {
return this.flightno;
}
public void setFlightno(String flightno) {
this.flightno = flightno;
}
public Airbus getAirbus() {
return this.airbus;
}
public void setAirbus(Airbus airbus) {
this.airbus = airbus;
}
public Fare getFare() {
return this.fare;
}
public void setFare(Fare fare) {
this.fare = fare;
}
public String getDepartTime() {
return this.departTime;
}
public void setDepartTime(String departTime) {
this.departTime = departTime;
}
public String getJourneyHrs() {
return this.journeyHrs;
}
public void setJourneyHrs(String journeyHrs) {
this.journeyHrs = journeyHrs;
}
public Integer getFlightDay1() {
return this.flightDay1;
}
public void setFlightDay1(Integer flightDay1) {
this.flightDay1 = flightDay1;
}
public Integer getFirstSeatBk() {
return this.firstSeatBk;
}
public void setFirstSeatBk(Integer firstSeatBk) {
this.firstSeatBk = firstSeatBk;
}
public Integer getBusSeat() {
return this.busSeat;
}
public void setBusSeat(Integer busSeat) {
this.busSeat = busSeat;
}
public Integer getEcoSeatBk() {
return this.ecoSeatBk;
}
public void setEcoSeatBk(Integer ecoSeatBk) {
this.ecoSeatBk = ecoSeatBk;
}
public Integer getFlightDay2() {
return this.flightDay2;
}
public void setFlightDay2(Integer flightDay2) {
this.flightDay2 = flightDay2;
}
public Set getReservations() {
return this.reservations;
}
public void setReservations(Set reservations) {
this.reservations = reservations;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -