📄 businfo.java
字号:
//封装的车次信息的 javabean,对应数据库中 businfo 数据表
package gongjiaochexitong.gongjiaoche;
import java.sql.*;
public class businfo implements java.io.Serializable
{
private static final long serialVersionUID = 1L;
protected int busNo;
protected String busType;
protected Time startTime;
protected Time endTime;
protected int startStation;
protected int endStation;
public businfo(){
}
public void setBusNo(int busNo){
this.busNo=busNo;
}
public int getBusNo(){
return busNo;
}
public void setBusType(String busType){
this.busType=busType;
}
public String getBusType(){
return busType;
}
public void setStartTime(Time startTime){
this.startTime=startTime;
}
public Time getStartTime(){
return startTime;
}
public void setEndTime(Time endTime){
this.endTime=endTime;
}
public Time getEndTime(){
return endTime;
}
public void setStartStation(int startStation){
this.startStation=startStation;
}
public int getStartStation(){
return startStation;
}
public void setEndStation(int endStation){
this.endStation=endStation;
}
public int getEndStation(){
return endStation;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -