com.firefly.wechat.model.message.ReportLocationMessage Maven / Gradle / Ivy
package com.firefly.wechat.model.message;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
/**
* @author Pengtao Qiu
*/
@JacksonXmlRootElement(localName = "xml")
public class ReportLocationMessage extends EventMessage {
@JacksonXmlProperty(localName = "Latitude")
private Double latitude;
@JacksonXmlProperty(localName = "Longitude")
private Double longitude;
@JacksonXmlProperty(localName = "Precision")
private Double precision;
public Double getLatitude() {
return latitude;
}
public void setLatitude(Double latitude) {
this.latitude = latitude;
}
public Double getLongitude() {
return longitude;
}
public void setLongitude(Double longitude) {
this.longitude = longitude;
}
public Double getPrecision() {
return precision;
}
public void setPrecision(Double precision) {
this.precision = precision;
}
}