Commit f7d9119e107d4d6a8a85ba49b9db2717f1964a7e

Authored by 李强
1 parent 2ecf6cc2

车辆信息表添加<是否切换与线路ID字段>

src/main/java/com/bsth/entity/Cars.java
... ... @@ -137,6 +137,9 @@ public class Cars {
137 137 // 报废日期
138 138 private Date scrapDate;
139 139  
  140 + // 是否切换
  141 + private Integer isSwitch;
  142 +
140 143 // 描述
141 144 private String descriptions;
142 145  
... ... @@ -153,6 +156,9 @@ public class Cars {
153 156 // 修改日期
154 157 @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
155 158 private Date updateDate;
  159 +
  160 + // 线路ID
  161 + private Integer lineid;
156 162  
157 163 public Integer getId() {
158 164 return id;
... ... @@ -442,6 +448,14 @@ public class Cars {
442 448 this.scrapDate = scrapDate;
443 449 }
444 450  
  451 + public Integer getIsSwitch() {
  452 + return isSwitch;
  453 + }
  454 +
  455 + public void setIsSwitch(Integer isSwitch) {
  456 + this.isSwitch = isSwitch;
  457 + }
  458 +
445 459 public String getDescriptions() {
446 460 return descriptions;
447 461 }
... ... @@ -481,4 +495,12 @@ public class Cars {
481 495 public void setUpdateDate(Date updateDate) {
482 496 this.updateDate = updateDate;
483 497 }
  498 +
  499 + public Integer getLineid() {
  500 + return lineid;
  501 + }
  502 +
  503 + public void setLineid(Integer lineid) {
  504 + this.lineid = lineid;
  505 + }
484 506 }
... ...