1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- package com.ruoyi.bd.domain;
- import com.alibaba.fastjson2.JSONObject;
- public class LocationInfo {
- double latitude;
- double longitude;
- long srcTimestamp; // 时间戳,单位毫秒
- long handleTimestamp;
- long evtTimestamp;
- String bizId;
- String key;
- JSONObject msg;
- public LocationInfo(double latitude, double longitude, long srcTimestamp) {
- this.latitude = latitude;
- this.longitude = longitude;
- this.srcTimestamp = srcTimestamp;
- }
- 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 long getSrcTimestamp() {
- return srcTimestamp;
- }
- public void setSrcTimestamp(long srcTimestamp) {
- this.srcTimestamp = srcTimestamp;
- }
- public long getHandleTimestamp() {
- return handleTimestamp;
- }
- public void setHandleTimestamp(long handleTimestamp) {
- this.handleTimestamp = handleTimestamp;
- }
- public long getEvtTimestamp() {
- return evtTimestamp;
- }
- public void setEvtTimestamp(long evtTimestamp) {
- this.evtTimestamp = evtTimestamp;
- }
- public JSONObject getMsg() {
- return msg;
- }
- public void setMsg(JSONObject msg) {
- this.msg = msg;
- }
- public String getBizId() {
- return bizId;
- }
- public void setBizId(String bizId) {
- this.bizId = bizId;
- }
- public String getKey() {
- return key;
- }
- public void setKey(String key) {
- this.key = key;
- }
- }
|