wanglizhong
2025-05-02 441a445223b4ec4a6517065d55f4a7f3bfb0a186
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
package com.ruoyi.system.domain;
 
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 车辆GPS坐标对象 tb_vehicle_gps
 */
public class VehicleGps extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /** GPS记录ID */
    private Long gpsId;
 
    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;
 
    /** 车牌号 */
    @Excel(name = "车牌号")
    private String vehicleNo;
 
    /** 经度 */
    @Excel(name = "经度")
    private Double longitude;
 
    /** 纬度 */
    @Excel(name = "纬度")
    private Double latitude;
 
    /** 海拔 */
    @Excel(name = "海拔")
    private Double altitude;
 
    /** 速度(km/h) */
    @Excel(name = "速度")
    private Double speed;
 
    /** 方向(度) */
    @Excel(name = "方向")
    private Double direction;
 
    /** 采集时间 */
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String collectTime;
 
    public void setGpsId(Long gpsId) {
        this.gpsId = gpsId;
    }
 
    public Long getGpsId() {
        return gpsId;
    }
 
    public void setVehicleId(Long vehicleId) {
        this.vehicleId = vehicleId;
    }
 
    public Long getVehicleId() {
        return vehicleId;
    }
 
    public void setVehicleNo(String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }
 
    public String getVehicleNo() {
        return vehicleNo;
    }
 
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
 
    public Double getLongitude() {
        return longitude;
    }
 
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
 
    public Double getLatitude() {
        return latitude;
    }
 
    public void setAltitude(Double altitude) {
        this.altitude = altitude;
    }
 
    public Double getAltitude() {
        return altitude;
    }
 
    public void setSpeed(Double speed) {
        this.speed = speed;
    }
 
    public Double getSpeed() {
        return speed;
    }
 
    public void setDirection(Double direction) {
        this.direction = direction;
    }
 
    public Double getDirection() {
        return direction;
    }
 
    public void setCollectTime(String collectTime) {
        this.collectTime = collectTime;
    }
 
    public String getCollectTime() {
        return collectTime;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("gpsId", getGpsId())
                .append("vehicleId", getVehicleId())
                .append("vehicleNo", getVehicleNo())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("altitude", getAltitude())
                .append("speed", getSpeed())
                .append("direction", getDirection())
                .append("collectTime", getCollectTime())
                .append("createTime", getCreateTime())
                .toString();
    }