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 | 160 | |
| 161 | 161 | // 线路ID |
| 162 | 162 | @OneToOne |
| 163 | - private Integer lineid; | |
| 163 | + private Line lineid; | |
| 164 | 164 | |
| 165 | 165 | public Integer getId() { |
| 166 | 166 | return id; |
| ... | ... | @@ -498,11 +498,11 @@ public class Cars { |
| 498 | 498 | this.updateDate = updateDate; |
| 499 | 499 | } |
| 500 | 500 | |
| 501 | - public Integer getLineid() { | |
| 501 | + public Line getLineid() { | |
| 502 | 502 | return lineid; |
| 503 | 503 | } |
| 504 | 504 | |
| 505 | - public void setLineid(Integer lineid) { | |
| 505 | + public void setLineid(Line lineid) { | |
| 506 | 506 | this.lineid = lineid; |
| 507 | 507 | } |
| 508 | 508 | } | ... | ... |