Commit 3e3c02f3db62e1f7ae381842c798824494c1fd35
1 parent
50374bcd
路段路由添加版本号字段
Showing
1 changed file
with
13 additions
and
2 deletions
src/main/java/com/bsth/entity/SectionRoute.java
| @@ -16,13 +16,13 @@ import javax.persistence.Table; | @@ -16,13 +16,13 @@ import javax.persistence.Table; | ||
| 16 | * | 16 | * |
| 17 | * @ClassName : SectionRoute(路段路由实体类) | 17 | * @ClassName : SectionRoute(路段路由实体类) |
| 18 | * | 18 | * |
| 19 | - * @author : bsth@lq | 19 | + * @Author : bsth@lq |
| 20 | * | 20 | * |
| 21 | * @Description : TODO(路段路由) | 21 | * @Description : TODO(路段路由) |
| 22 | * | 22 | * |
| 23 | * @Data :2016-04-21 | 23 | * @Data :2016-04-21 |
| 24 | * | 24 | * |
| 25 | - * @version 公交调度系统BS版 0.1 | 25 | + * @Version 公交调度系统BS版 0.1 |
| 26 | * | 26 | * |
| 27 | */ | 27 | */ |
| 28 | 28 | ||
| @@ -46,6 +46,9 @@ public class SectionRoute { | @@ -46,6 +46,9 @@ public class SectionRoute { | ||
| 46 | // 路段路由方向 | 46 | // 路段路由方向 |
| 47 | private Integer directions; | 47 | private Integer directions; |
| 48 | 48 | ||
| 49 | + // 版本号 | ||
| 50 | + private Integer versions; | ||
| 51 | + | ||
| 49 | // 描述 | 52 | // 描述 |
| 50 | private String descriptions; | 53 | private String descriptions; |
| 51 | 54 | ||
| @@ -111,6 +114,14 @@ public class SectionRoute { | @@ -111,6 +114,14 @@ public class SectionRoute { | ||
| 111 | this.directions = directions; | 114 | this.directions = directions; |
| 112 | } | 115 | } |
| 113 | 116 | ||
| 117 | + public Integer getVersions() { | ||
| 118 | + return versions; | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + public void setVersions(Integer versions) { | ||
| 122 | + this.versions = versions; | ||
| 123 | + } | ||
| 124 | + | ||
| 114 | public String getDescriptions() { | 125 | public String getDescriptions() { |
| 115 | return descriptions; | 126 | return descriptions; |
| 116 | } | 127 | } |