Commit 4f003da150c917813969c3b4cd67bb3df15af20e
1 parent
62fb68a5
线路字段修正
Showing
1 changed file
with
23 additions
and
24 deletions
src/main/java/com/bsth/entity/Line.java
| ... | ... | @@ -19,7 +19,7 @@ import javax.persistence.Table; |
| 19 | 19 | * |
| 20 | 20 | * @Author bsth@lq |
| 21 | 21 | * |
| 22 | - * @Date 2016年4月11日 下午4:06:17 | |
| 22 | + * @Date 2016-4-11 16:06:17 | |
| 23 | 23 | * |
| 24 | 24 | * @Version 公交调度系统BS版 0.1 |
| 25 | 25 | * |
| ... | ... | @@ -58,9 +58,6 @@ public class Line { |
| 58 | 58 | // 停车场编码 |
| 59 | 59 | private String carParkCode; |
| 60 | 60 | |
| 61 | - // 起始站id | |
| 62 | - private Integer startStation; | |
| 63 | - | |
| 64 | 61 | // 起始站名称 |
| 65 | 62 | private String startStationName; |
| 66 | 63 | |
| ... | ... | @@ -70,9 +67,6 @@ public class Line { |
| 70 | 67 | // 起始站末班车时间 00:00 |
| 71 | 68 | private String StartStationEndTime; |
| 72 | 69 | |
| 73 | - // 终点站id | |
| 74 | - private Integer endStation; | |
| 75 | - | |
| 76 | 70 | // 终点站名称 |
| 77 | 71 | private String endStationName; |
| 78 | 72 | |
| ... | ... | @@ -121,6 +115,12 @@ public class Line { |
| 121 | 115 | // 线路沿革 |
| 122 | 116 | private String history; |
| 123 | 117 | |
| 118 | + // 上海市线路编码 | |
| 119 | + private String shanghaiLinecode; | |
| 120 | + | |
| 121 | + // 设备线路编码 | |
| 122 | + private String eqLinecode; | |
| 123 | + | |
| 124 | 124 | // 描述 |
| 125 | 125 | private String descriptions; |
| 126 | 126 | |
| ... | ... | @@ -214,14 +214,6 @@ public class Line { |
| 214 | 214 | this.carParkCode = carParkCode; |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | - public Integer getStartStation() { | |
| 218 | - return startStation; | |
| 219 | - } | |
| 220 | - | |
| 221 | - public void setStartStation(Integer startStation) { | |
| 222 | - this.startStation = startStation; | |
| 223 | - } | |
| 224 | - | |
| 225 | 217 | public String getStartStationName() { |
| 226 | 218 | return startStationName; |
| 227 | 219 | } |
| ... | ... | @@ -246,14 +238,6 @@ public class Line { |
| 246 | 238 | StartStationEndTime = startStationEndTime; |
| 247 | 239 | } |
| 248 | 240 | |
| 249 | - public Integer getEndStation() { | |
| 250 | - return endStation; | |
| 251 | - } | |
| 252 | - | |
| 253 | - public void setEndStation(Integer endStation) { | |
| 254 | - this.endStation = endStation; | |
| 255 | - } | |
| 256 | - | |
| 257 | 241 | public String getEndStationName() { |
| 258 | 242 | return endStationName; |
| 259 | 243 | } |
| ... | ... | @@ -382,6 +366,22 @@ public class Line { |
| 382 | 366 | this.history = history; |
| 383 | 367 | } |
| 384 | 368 | |
| 369 | + public String getShanghaiLinecode() { | |
| 370 | + return shanghaiLinecode; | |
| 371 | + } | |
| 372 | + | |
| 373 | + public void setShanghaiLinecode(String shanghaiLinecode) { | |
| 374 | + this.shanghaiLinecode = shanghaiLinecode; | |
| 375 | + } | |
| 376 | + | |
| 377 | + public String getEqLinecode() { | |
| 378 | + return eqLinecode; | |
| 379 | + } | |
| 380 | + | |
| 381 | + public void setEqLinecode(String eqLinecode) { | |
| 382 | + this.eqLinecode = eqLinecode; | |
| 383 | + } | |
| 384 | + | |
| 385 | 385 | public String getDescriptions() { |
| 386 | 386 | return descriptions; |
| 387 | 387 | } |
| ... | ... | @@ -429,5 +429,4 @@ public class Line { |
| 429 | 429 | public void setLineInformation(LineInformation lineInformation) { |
| 430 | 430 | this.lineInformation = lineInformation; |
| 431 | 431 | } |
| 432 | - | |
| 433 | 432 | } | ... | ... |