Skip to content

Commit

Permalink
zqh
Browse files Browse the repository at this point in the history
  • Loading branch information
shilan910 committed Aug 14, 2016
1 parent fa5c323 commit d151c71
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/java/com/busasst/bean/SchedualBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ public class SchedualBean {
private String driverName;
private String busNumber;
private String routeName;
private int seatNum;

public SchedualBean(String time, String date, String startStation,
String driverName, String busNumber, String routeName) {
String driverName, String busNumber, String routeName, int seatNum) {
this.time = time;
this.date = date;
this.startStation = startStation;
this.driverName = driverName;
this.busNumber = busNumber;
this.routeName = routeName;
this.seatNum = seatNum;
}

public Integer getDriverId() {
Expand Down Expand Up @@ -105,4 +107,12 @@ public String getRouteName() {
public void setRouteName(String routeName) {
this.routeName = routeName;
}

public int getSeatNum() {
return seatNum;
}

public void setSeatNum(int seatNum) {
this.seatNum = seatNum;
}
}

0 comments on commit d151c71

Please sign in to comment.