Commit dccdeb95f6642d6b562c5f1c5af3fd756c7c93a1
1 parent
cd23dc45
update...
Showing
1 changed file
with
16 additions
and
0 deletions
src/main/java/com/bsth/data/gpsdata_v2/entity/GpsEntity.java
| ... | ... | @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; |
| 13 | 13 | public class GpsEntity implements Cloneable{ |
| 14 | 14 | |
| 15 | 15 | /** 公司代码 */ |
| 16 | + @JsonIgnore | |
| 16 | 17 | private Short companyCode; |
| 17 | 18 | |
| 18 | 19 | /** 线路编码 */ |
| ... | ... | @@ -31,6 +32,7 @@ public class GpsEntity implements Cloneable{ |
| 31 | 32 | private String stationName; |
| 32 | 33 | |
| 33 | 34 | /** 到站时间 */ |
| 35 | + @JsonIgnore | |
| 34 | 36 | private long arrTime; |
| 35 | 37 | |
| 36 | 38 | /** 经度 */ |
| ... | ... | @@ -56,6 +58,12 @@ public class GpsEntity implements Cloneable{ |
| 56 | 58 | |
| 57 | 59 | /** 上下行(0 上行 , 1 下行 , -1 无效) */ |
| 58 | 60 | private Byte upDown; |
| 61 | + | |
| 62 | + /** | |
| 63 | + * 设备原始走向_营运状态 | |
| 64 | + * 当设备状态和系统不一致时,该字段有值 | |
| 65 | + */ | |
| 66 | + private String origStateStr; | |
| 59 | 67 | |
| 60 | 68 | /** 车辆内部编码 */ |
| 61 | 69 | private String nbbm; |
| ... | ... | @@ -379,4 +387,12 @@ public class GpsEntity implements Cloneable{ |
| 379 | 387 | public void setPlanCode(String planCode) { |
| 380 | 388 | this.planCode = planCode; |
| 381 | 389 | } |
| 390 | + | |
| 391 | + public String getOrigStateStr() { | |
| 392 | + return origStateStr; | |
| 393 | + } | |
| 394 | + | |
| 395 | + public void setOrigStateStr(String origStateStr) { | |
| 396 | + this.origStateStr = origStateStr; | |
| 397 | + } | |
| 382 | 398 | } | ... | ... |