⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ticketbean.java

📁 火车票的订购系统,实现简单的查阅,定购等功能
💻 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 + -