Commit ade647ae2c744c32c04af6e864512b2962a1d323
1 parent
31563635
站点路由添加版本号字段
Showing
1 changed file
with
13 additions
and
2 deletions
src/main/java/com/bsth/entity/StationRoute.java
| ... | ... | @@ -14,13 +14,13 @@ import javax.persistence.Table; |
| 14 | 14 | * |
| 15 | 15 | * @ClassName : StationRoute(站点路由实体类) |
| 16 | 16 | * |
| 17 | - * @author : bsth@lq | |
| 17 | + * @Author : bsth@lq | |
| 18 | 18 | * |
| 19 | 19 | * @Description : TODO(站点路由) |
| 20 | 20 | * |
| 21 | 21 | * @Data :2016-04-19 |
| 22 | 22 | * |
| 23 | - * @version 公交调度系统BS版 0.1 | |
| 23 | + * @Version 公交调度系统BS版 0.1 | |
| 24 | 24 | * |
| 25 | 25 | */ |
| 26 | 26 | |
| ... | ... | @@ -74,6 +74,9 @@ public class StationRoute { |
| 74 | 74 | // 站点路由方向 |
| 75 | 75 | private Integer directions; |
| 76 | 76 | |
| 77 | + // 版本号 | |
| 78 | + private Integer versions; | |
| 79 | + | |
| 77 | 80 | // 描述 |
| 78 | 81 | private String descriptions; |
| 79 | 82 | |
| ... | ... | @@ -187,6 +190,14 @@ public class StationRoute { |
| 187 | 190 | this.directions = directions; |
| 188 | 191 | } |
| 189 | 192 | |
| 193 | + public Integer getVersions() { | |
| 194 | + return versions; | |
| 195 | + } | |
| 196 | + | |
| 197 | + public void setVersions(Integer versions) { | |
| 198 | + this.versions = versions; | |
| 199 | + } | |
| 200 | + | |
| 190 | 201 | public String getDescriptions() { |
| 191 | 202 | return descriptions; |
| 192 | 203 | } | ... | ... |