?? flights.java
字號:
package com.yc.model;
/**
* Flights entity.
*
* @author MyEclipse Persistence Tools
*/
public class Flights implements java.io.Serializable {
// Fields
private Long id;
private String flightNo;
private String startPlace;
private String endPlace;
private Integer time;
private Double price;
// Constructors
/** default constructor */
public Flights() {
}
/** full constructor */
public Flights(String flightNo, String startPlace, String endPlace,
Integer time, Double price) {
this.flightNo = flightNo;
this.startPlace = startPlace;
this.endPlace = endPlace;
this.time = time;
this.price = price;
}
// Property accessors
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getFlightNo() {
return this.flightNo;
}
public void setFlightNo(String flightNo) {
this.flightNo = flightNo;
}
public String getStartPlace() {
return this.startPlace;
}
public void setStartPlace(String startPlace) {
this.startPlace = startPlace;
}
public String getEndPlace() {
return this.endPlace;
}
public void setEndPlace(String endPlace) {
this.endPlace = endPlace;
}
public Integer getTime() {
return this.time;
}
public void setTime(Integer time) {
this.time = time;
}
public Double getPrice() {
return this.price;
}
public void setPrice(Double price) {
this.price = price;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -