Commit 498f999a53570db9856abd8b8b85e9d0baa6d29f
1 parent
ad6592c4
车辆与线路关系
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/bsth/entity/Cars.java
| @@ -160,7 +160,7 @@ public class Cars { | @@ -160,7 +160,7 @@ public class Cars { | ||
| 160 | 160 | ||
| 161 | // 线路ID | 161 | // 线路ID |
| 162 | @OneToOne | 162 | @OneToOne |
| 163 | - private Integer lineid; | 163 | + private Line lineid; |
| 164 | 164 | ||
| 165 | public Integer getId() { | 165 | public Integer getId() { |
| 166 | return id; | 166 | return id; |
| @@ -498,11 +498,11 @@ public class Cars { | @@ -498,11 +498,11 @@ public class Cars { | ||
| 498 | this.updateDate = updateDate; | 498 | this.updateDate = updateDate; |
| 499 | } | 499 | } |
| 500 | 500 | ||
| 501 | - public Integer getLineid() { | 501 | + public Line getLineid() { |
| 502 | return lineid; | 502 | return lineid; |
| 503 | } | 503 | } |
| 504 | 504 | ||
| 505 | - public void setLineid(Integer lineid) { | 505 | + public void setLineid(Line lineid) { |
| 506 | this.lineid = lineid; | 506 | this.lineid = lineid; |
| 507 | } | 507 | } |
| 508 | } | 508 | } |