Commit 50374bcd21fffb3da36a52ccc23ac2d49974fde0
1 parent
ade647ae
路段添加版本号字段,删除起始与终点编码字段
Showing
1 changed file
with
24 additions
and
35 deletions
src/main/java/com/bsth/entity/Section.java
| @@ -13,13 +13,13 @@ import javax.persistence.Table; | @@ -13,13 +13,13 @@ import javax.persistence.Table; | ||
| 13 | * | 13 | * |
| 14 | * @ClassName : Section(路段实体类) | 14 | * @ClassName : Section(路段实体类) |
| 15 | * | 15 | * |
| 16 | - * @author : bsth@lq | 16 | + * @Author : bsth@lq |
| 17 | * | 17 | * |
| 18 | * @Description : TODO(路段) | 18 | * @Description : TODO(路段) |
| 19 | * | 19 | * |
| 20 | * @Data :2016-04-21 | 20 | * @Data :2016-04-21 |
| 21 | * | 21 | * |
| 22 | - * @version 公交调度系统BS版 0.1 | 22 | + * @Version 公交调度系统BS版 0.1 |
| 23 | * | 23 | * |
| 24 | */ | 24 | */ |
| 25 | 25 | ||
| @@ -55,12 +55,6 @@ public class Section { | @@ -55,12 +55,6 @@ public class Section { | ||
| 55 | // 路段矢量(空间坐标点集合)--GPS坐标点 | 55 | // 路段矢量(空间坐标点集合)--GPS坐标点 |
| 56 | private String gsectionVector; | 56 | private String gsectionVector; |
| 57 | 57 | ||
| 58 | - // 起始交叉点编号 | ||
| 59 | - private String startCrossCode; | ||
| 60 | - | ||
| 61 | - // 终止交叉点编号 | ||
| 62 | - private String endCrosesCode; | ||
| 63 | - | ||
| 64 | // 交叉路 | 58 | // 交叉路 |
| 65 | private String crosesRoad; | 59 | private String crosesRoad; |
| 66 | 60 | ||
| @@ -76,15 +70,18 @@ public class Section { | @@ -76,15 +70,18 @@ public class Section { | ||
| 76 | // 限速 | 70 | // 限速 |
| 77 | private Double speedLimit; | 71 | private Double speedLimit; |
| 78 | 72 | ||
| 73 | + // 版本号 | ||
| 74 | + private Integer versions; | ||
| 75 | + | ||
| 76 | + // 描述 | ||
| 77 | + private String descriptions; | ||
| 78 | + | ||
| 79 | // 创建人 | 79 | // 创建人 |
| 80 | private Integer createBy; | 80 | private Integer createBy; |
| 81 | 81 | ||
| 82 | // 修改人 | 82 | // 修改人 |
| 83 | private Integer updateBy; | 83 | private Integer updateBy; |
| 84 | 84 | ||
| 85 | - // 描述 | ||
| 86 | - private String descriptions; | ||
| 87 | - | ||
| 88 | // 创建日期 | 85 | // 创建日期 |
| 89 | @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP") | 86 | @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP") |
| 90 | private Date createDate; | 87 | private Date createDate; |
| @@ -165,22 +162,6 @@ public class Section { | @@ -165,22 +162,6 @@ public class Section { | ||
| 165 | this.gsectionVector = gsectionVector; | 162 | this.gsectionVector = gsectionVector; |
| 166 | } | 163 | } |
| 167 | 164 | ||
| 168 | - public String getStartCrossCode() { | ||
| 169 | - return startCrossCode; | ||
| 170 | - } | ||
| 171 | - | ||
| 172 | - public void setStartCrossCode(String startCrossCode) { | ||
| 173 | - this.startCrossCode = startCrossCode; | ||
| 174 | - } | ||
| 175 | - | ||
| 176 | - public String getEndCrosesCode() { | ||
| 177 | - return endCrosesCode; | ||
| 178 | - } | ||
| 179 | - | ||
| 180 | - public void setEndCrosesCode(String endCrosesCode) { | ||
| 181 | - this.endCrosesCode = endCrosesCode; | ||
| 182 | - } | ||
| 183 | - | ||
| 184 | public String getCrosesRoad() { | 165 | public String getCrosesRoad() { |
| 185 | return crosesRoad; | 166 | return crosesRoad; |
| 186 | } | 167 | } |
| @@ -221,6 +202,22 @@ public class Section { | @@ -221,6 +202,22 @@ public class Section { | ||
| 221 | this.speedLimit = speedLimit; | 202 | this.speedLimit = speedLimit; |
| 222 | } | 203 | } |
| 223 | 204 | ||
| 205 | + public Integer getVersions() { | ||
| 206 | + return versions; | ||
| 207 | + } | ||
| 208 | + | ||
| 209 | + public void setVersions(Integer versions) { | ||
| 210 | + this.versions = versions; | ||
| 211 | + } | ||
| 212 | + | ||
| 213 | + public String getDescriptions() { | ||
| 214 | + return descriptions; | ||
| 215 | + } | ||
| 216 | + | ||
| 217 | + public void setDescriptions(String descriptions) { | ||
| 218 | + this.descriptions = descriptions; | ||
| 219 | + } | ||
| 220 | + | ||
| 224 | public Integer getCreateBy() { | 221 | public Integer getCreateBy() { |
| 225 | return createBy; | 222 | return createBy; |
| 226 | } | 223 | } |
| @@ -237,14 +234,6 @@ public class Section { | @@ -237,14 +234,6 @@ public class Section { | ||
| 237 | this.updateBy = updateBy; | 234 | this.updateBy = updateBy; |
| 238 | } | 235 | } |
| 239 | 236 | ||
| 240 | - public String getDescriptions() { | ||
| 241 | - return descriptions; | ||
| 242 | - } | ||
| 243 | - | ||
| 244 | - public void setDescriptions(String descriptions) { | ||
| 245 | - this.descriptions = descriptions; | ||
| 246 | - } | ||
| 247 | - | ||
| 248 | public Date getCreateDate() { | 237 | public Date getCreateDate() { |
| 249 | return createDate; | 238 | return createDate; |
| 250 | } | 239 | } |