Commit d854679d19739fcebbef6cfe5a57b01bcf3b4815
1 parent
c43bdc80
站点路由表里添加站点名称字段
Showing
1 changed file
with
11 additions
and
0 deletions
src/main/java/com/bsth/entity/StationRoute.java
| ... | ... | @@ -39,6 +39,9 @@ public class StationRoute { |
| 39 | 39 | // 站点编码 |
| 40 | 40 | private String stationCode; |
| 41 | 41 | |
| 42 | + // 站点名称 | |
| 43 | + private String stationName; | |
| 44 | + | |
| 42 | 45 | // 线路编码 |
| 43 | 46 | private String lineCode; |
| 44 | 47 | |
| ... | ... | @@ -126,6 +129,14 @@ public class StationRoute { |
| 126 | 129 | this.stationCode = stationCode; |
| 127 | 130 | } |
| 128 | 131 | |
| 132 | + public String getStationName() { | |
| 133 | + return stationName; | |
| 134 | + } | |
| 135 | + | |
| 136 | + public void setStationName(String stationName) { | |
| 137 | + this.stationName = stationName; | |
| 138 | + } | |
| 139 | + | |
| 129 | 140 | public String getLineCode() { |
| 130 | 141 | return lineCode; |
| 131 | 142 | } | ... | ... |