21
21
public class TripReport extends BaseReport {
22
22
23
23
private long startPositionId ;
24
+
24
25
public long getStartPositionId () {
25
26
return startPositionId ;
26
27
}
28
+
27
29
public void setStartPositionId (long startPositionId ) {
28
30
this .startPositionId = startPositionId ;
29
31
}
30
32
31
33
private long endPositionId ;
34
+
32
35
public long getEndPositionId () {
33
36
return endPositionId ;
34
37
}
38
+
35
39
public void setEndPositionId (long endPositionId ) {
36
40
this .endPositionId = endPositionId ;
37
41
}
38
42
39
43
private double startLat ;
44
+
40
45
public double getStartLat () {
41
46
return startLat ;
42
47
}
48
+
43
49
public void setStartLat (double startLat ) {
44
50
this .startLat = startLat ;
45
51
}
46
52
47
53
private double startLon ;
54
+
48
55
public double getStartLon () {
49
56
return startLon ;
50
57
}
58
+
51
59
public void setStartLon (double startLon ) {
52
60
this .startLon = startLon ;
53
61
}
54
62
55
63
private double endLat ;
64
+
56
65
public double getEndLat () {
57
66
return endLat ;
58
67
}
68
+
59
69
public void setEndLat (double endLat ) {
60
70
this .endLat = endLat ;
61
71
}
62
72
63
73
private double endLon ;
74
+
64
75
public double getEndLon () {
65
76
return endLon ;
66
77
}
78
+
67
79
public void setEndLon (double endLon ) {
68
80
this .endLon = endLon ;
69
81
}
70
82
71
83
private Date startTime ;
84
+
72
85
public Date getStartTime () {
73
86
if (startTime != null ) {
74
87
return new Date (startTime .getTime ());
75
88
} else {
76
89
return null ;
77
90
}
78
91
}
92
+
79
93
public void setStartTime (Date startTime ) {
80
94
if (startTime != null ) {
81
95
this .startTime = new Date (startTime .getTime ());
@@ -85,21 +99,25 @@ public void setStartTime(Date startTime) {
85
99
}
86
100
87
101
private String startAddress ;
102
+
88
103
public String getStartAddress () {
89
104
return startAddress ;
90
105
}
106
+
91
107
public void setStartAddress (String address ) {
92
108
this .startAddress = address ;
93
109
}
94
110
95
111
private Date endTime ;
112
+
96
113
public Date getEndTime () {
97
114
if (endTime != null ) {
98
115
return new Date (endTime .getTime ());
99
116
} else {
100
117
return null ;
101
118
}
102
119
}
120
+
103
121
public void setEndTime (Date endTime ) {
104
122
if (endTime != null ) {
105
123
this .endTime = new Date (endTime .getTime ());
@@ -109,25 +127,31 @@ public void setEndTime(Date endTime) {
109
127
}
110
128
111
129
private String endAddress ;
130
+
112
131
public String getEndAddress () {
113
132
return endAddress ;
114
133
}
134
+
115
135
public void setEndAddress (String address ) {
116
136
this .endAddress = address ;
117
137
}
118
138
119
139
private long duration ;
140
+
120
141
public long getDuration () {
121
142
return duration ;
122
143
}
144
+
123
145
public void setDuration (long duration ) {
124
146
this .duration = duration ;
125
147
}
126
148
127
149
private String spentFuel ;
150
+
128
151
public String getSpentFuel () {
129
152
return spentFuel ;
130
153
}
154
+
131
155
public void setSpentFuel (String spentFuel ) {
132
156
this .spentFuel = spentFuel ;
133
157
}
0 commit comments