📄 flightschedular.java
字号:
package com.tarena.abs.model;
import java.util.Calendar;
public class FlightSchedular {
private String company;
private String flightnumber;
private Calendar startDate;
private Calendar endDate;
private String fromCity;
private String toCity;
private Calendar fromTime;
private Calendar toTime;
private PlaneModel plane;
private byte schedular;
private double totalPrice;
public FlightSchedular(String company, String flightnumber, String fromCity, String toCity, PlaneModel plane, byte schedular, double totalPrice) {
super();
this.company = company;
this.flightnumber = flightnumber;
this.fromCity = fromCity;
this.toCity = toCity;
this.plane = plane;
this.schedular = schedular;
this.totalPrice = totalPrice;
}
public FlightSchedular() {
super();
}
public String getCompany() {
return company;
}
public Calendar getEndDate() {
return endDate;
}
public String getFlightnumber() {
return flightnumber;
}
public String getFromCity() {
return fromCity;
}
public Calendar getFromTime() {
return fromTime;
}
public PlaneModel getPlane() {
return plane;
}
public byte getSchedular() {
return schedular;
}
public Calendar getStartDate() {
return startDate;
}
public String getToCity() {
return toCity;
}
public double getTotalPrice() {
return totalPrice;
}
public Calendar getToTime() {
return toTime;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -