Commit 252e46b96001d1e836da4550936a72b51f02dd70
1 parent
01cc9e07
添加线路是否使用标识
Showing
1 changed file
with
7 additions
and
0 deletions
src/main/java/com/bsth/entity/Line.java
| @@ -144,6 +144,9 @@ public class Line implements Serializable { | @@ -144,6 +144,9 @@ public class Line implements Serializable { | ||
| 144 | /** 修改日期 timestamp */ | 144 | /** 修改日期 timestamp */ |
| 145 | @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") | 145 | @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") |
| 146 | private Date updateDate; | 146 | private Date updateDate; |
| 147 | + | ||
| 148 | + /** 是否在使用 <1:是;0:否> bit length(50) */ | ||
| 149 | + private Integer inUse; | ||
| 147 | 150 | ||
| 148 | public Integer getWarrantCar() { | 151 | public Integer getWarrantCar() { |
| 149 | return warrantCar; | 152 | return warrantCar; |
| @@ -448,4 +451,8 @@ public class Line implements Serializable { | @@ -448,4 +451,8 @@ public class Line implements Serializable { | ||
| 448 | public void setUpdateDate(Date updateDate) { | 451 | public void setUpdateDate(Date updateDate) { |
| 449 | this.updateDate = updateDate; | 452 | this.updateDate = updateDate; |
| 450 | } | 453 | } |
| 454 | + | ||
| 455 | + public Integer getInUse() { return inUse; } | ||
| 456 | + | ||
| 457 | + public void setInUse(Integer inUse) { this.inUse = inUse; } | ||
| 451 | } | 458 | } |