?? ticketbean.java
字號:
package trainticket;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class TicketBean {
private String TrainNo;
private int seatNum;
private int bedNum;
private float seatPrice;
private float bedPrice;
public int getBedNum() {
return bedNum;
}
public float getBedPrice() {
return bedPrice;
}
public int getSeatNum() {
return seatNum;
}
public float getSeatPrice() {
return seatPrice;
}
public String getTrainNo() {
return TrainNo;
}
public void setTrainNo(String TrainNo) {
this.TrainNo = TrainNo;
}
public void setSeatNum(int seatNum) {
this.seatNum = seatNum;
}
public void setSeatPrice(float seatPrice) {
this.seatPrice = seatPrice;
}
public void setBedPrice(float bedPrice) {
this.bedPrice = bedPrice;
}
public void setBedNum(int bedNum) {
this.bedNum = bedNum;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -