package com.kuanzhai.driver.bean;
|
|
public class CarLocationBean {
|
|
/**
|
* code : 200
|
* msg : LOCATION
|
* method : OK
|
* data : {"driverId":545645,"orderId":21414,"orderType":2,"lon":103.56523,"lat":30.61221}
|
*/
|
|
private int code = 200;
|
private String msg ="SUCCESS";
|
private String method = "LOCATION";
|
private DataBean data;
|
|
public int getCode() {
|
return code;
|
}
|
|
public void setCode(int code) {
|
this.code = code;
|
}
|
|
public String getMsg() {
|
return msg;
|
}
|
|
public void setMsg(String msg) {
|
this.msg = msg;
|
}
|
|
public String getMethod() {
|
return method;
|
}
|
|
public void setMethod(String method) {
|
this.method = method;
|
}
|
|
public DataBean getData() {
|
return data;
|
}
|
|
public void setData(DataBean data) {
|
this.data = data;
|
}
|
|
public static class DataBean {
|
|
|
public DataBean(int driverId, String orderId, String orderType, double lon, double lat,double computeAzimuth,double altitude) {
|
this.driverId = driverId;
|
this.orderId = orderId;
|
this.orderType = orderType;
|
this.lon = lon;
|
this.lat = lat;
|
this.computeAzimuth = computeAzimuth;
|
this.altitude = altitude;
|
//添加方向角 海拔熟读
|
|
}
|
|
/**
|
* driverId : 545645
|
* orderId : 21414
|
* orderType : 2
|
* lon : 103.56523
|
* lat : 30.61221
|
*/
|
|
|
|
private int driverId;
|
private String orderId;
|
private String orderType;
|
private double lon;
|
private double lat;
|
private double computeAzimuth;
|
private double altitude;
|
|
public double getAltitude() {
|
return altitude;
|
}
|
|
public void setAltitude(double altitude) {
|
this.altitude = altitude;
|
}
|
|
public double getComputeAzimuth() {
|
return computeAzimuth;
|
}
|
|
public void setComputeAzimuth(double computeAzimuth) {
|
this.computeAzimuth = computeAzimuth;
|
}
|
|
public int getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(int driverId) {
|
this.driverId = driverId;
|
}
|
|
public String getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(String orderId) {
|
this.orderId = orderId;
|
}
|
|
public String getOrderType() {
|
return orderType;
|
}
|
|
public void setOrderType(String orderType) {
|
this.orderType = orderType;
|
}
|
|
public double getLon() {
|
return lon;
|
}
|
|
public void setLon(double lon) {
|
this.lon = lon;
|
}
|
|
public double getLat() {
|
return lat;
|
}
|
|
public void setLat(double lat) {
|
this.lat = lat;
|
}
|
|
@Override
|
public String toString() {
|
return "DataBean{" +
|
"driverId=" + driverId +
|
", orderId='" + orderId + '\'' +
|
", orderType='" + orderType + '\'' +
|
", lon=" + lon +
|
", lat=" + lat +
|
", computeAzimuth=" + computeAzimuth +
|
", altitude=" + altitude +
|
'}';
|
}
|
}
|
|
|
@Override
|
public String toString() {
|
return "CarLocationBean{" +
|
"code=" + code +
|
", msg='" + msg + '\'' +
|
", method='" + method + '\'' +
|
", data=" + data +
|
'}';
|
}
|
}
|