Commit e2131781 authored by p x's avatar p x
Browse files

增加get

parent 032bde60
...@@ -9,4 +9,12 @@ public class Position2DDto { ...@@ -9,4 +9,12 @@ public class Position2DDto {
//纬度 //纬度
@Order(2) @Order(2)
private double latitude; private double latitude;
public double getLongitude() {
return longitude;
}
public double getLatitude() {
return latitude;
}
} }
...@@ -42,6 +42,10 @@ public class SelfDefineDetailDto { ...@@ -42,6 +42,10 @@ public class SelfDefineDetailDto {
//预警距离 //预警距离
private float distance; private float distance;
public PositionDto getLocation() {
return location;
}
public String getRvVehicleId() { public String getRvVehicleId() {
return rvVehicleId; return rvVehicleId;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment