Commit 97a2b57e3b68a168a2ea16909cfc5391be378775

Authored by 李强
1 parent 6203a4c0

车辆信息表添加<营运证编码>字段

src/main/java/com/bsth/entity/Cars.java
@@ -57,7 +57,7 @@ public class Cars implements Serializable { @@ -57,7 +57,7 @@ public class Cars implements Serializable {
57 /** 设备终端号 */ 57 /** 设备终端号 */
58 @Column(nullable = false) 58 @Column(nullable = false)
59 private String equipmentCode; 59 private String equipmentCode;
60 - 60 +
61 // 以下信息来自总公司的业务系统,可能需要调用相关接口 61 // 以下信息来自总公司的业务系统,可能需要调用相关接口
62 /** 车型类别 */ 62 /** 车型类别 */
63 private String carClass ; 63 private String carClass ;
@@ -115,6 +115,8 @@ public class Cars implements Serializable { @@ -115,6 +115,8 @@ public class Cars implements Serializable {
115 private String vehicleStats; 115 private String vehicleStats;
116 /** 营运状态 */ 116 /** 营运状态 */
117 private String operatorsState; 117 private String operatorsState;
  118 + /** 营运证编码 */
  119 + private String serviceNo;
118 /** 是否电车(TODO:在原系统里没有,这里暂时留着) */ 120 /** 是否电车(TODO:在原系统里没有,这里暂时留着) */
119 private Boolean sfdc; 121 private Boolean sfdc;
120 /** 备注/描述 */ 122 /** 备注/描述 */
@@ -148,8 +150,16 @@ public class Cars implements Serializable { @@ -148,8 +150,16 @@ public class Cars implements Serializable {
148 /** 修改日期 */ 150 /** 修改日期 */
149 @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") 151 @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
150 private Date updateDate; 152 private Date updateDate;
  153 +
  154 + public String getServiceNo() {
  155 + return serviceNo;
  156 + }
  157 +
  158 + public void setServiceNo(String serviceNo) {
  159 + this.serviceNo = serviceNo;
  160 + }
151 161
152 - public Integer getId() { 162 + public Integer getId() {
153 return id; 163 return id;
154 } 164 }
155 165