Subversion Repositories SmartDukaan

Rev

Rev 35079 | Rev 36645 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35079 Rev 35117
Line 26... Line 26...
26
    private String address;
26
    private String address;
27
    private String attachment;
27
    private String attachment;
28
    private BigDecimal totalDistance;
28
    private BigDecimal totalDistance;
29
    private int assignedBy;
29
    private int assignedBy;
30
    private boolean status;
30
    private boolean status;
31
    private List<Path> journeyPath;
31
    private List<LocationTrackingPathModel> journeyPath;
32
 
32
 
33
    public int getId() {
33
    public int getId() {
34
        return id;
34
        return id;
35
    }
35
    }
36
 
36
 
Line 192... Line 192...
192
 
192
 
193
    public void setStatus(boolean status) {
193
    public void setStatus(boolean status) {
194
        this.status = status;
194
        this.status = status;
195
    }
195
    }
196
 
196
 
197
    public List<Path> getJourneyPath() {
197
    public List<LocationTrackingPathModel> getJourneyPath() {
198
        return journeyPath;
198
        return journeyPath;
199
    }
199
    }
200
 
200
 
201
    public void setJourneyPath(List<Path> journeyPath) {
201
    public void setJourneyPath(List<LocationTrackingPathModel> journeyPath) {
202
        this.journeyPath = journeyPath;
202
        this.journeyPath = journeyPath;
203
    }
203
    }
204
 
204
 
205
    public static class Path {
-
 
206
        private int userId;
-
 
207
        private Date taskDate;
-
 
208
        private String lat;
-
 
209
        private String lng;
-
 
210
        private String accuracy;
-
 
211
        private String timestamp;
-
 
212
 
-
 
213
        public String getLat() {
-
 
214
            return lat;
-
 
215
        }
-
 
216
        public void setLat(String lat) {
-
 
217
            this.lat = lat;
-
 
218
        }
-
 
219
 
-
 
220
        public String getLng() {
-
 
221
            return lng;
-
 
222
        }
-
 
223
        public void setLng(String lng) {
-
 
224
            this.lng = lng;
-
 
225
        }
-
 
226
 
-
 
227
        public String getAccuracy() {
-
 
228
            return accuracy;
-
 
229
        }
-
 
230
        public void setAccuracy(String accuracy) {
-
 
231
            this.accuracy = accuracy;
-
 
232
        }
-
 
233
 
-
 
234
        public String getTimestamp() {
-
 
235
            return timestamp;
-
 
236
        }
-
 
237
        public void setTimestamp(String timestamp) {
-
 
238
            this.timestamp = timestamp;
-
 
239
        }
-
 
240
 
-
 
241
        public int getUserId() {
-
 
242
            return userId;
-
 
243
        }
-
 
244
 
-
 
245
        public void setUserId(int userId) {
-
 
246
            this.userId = userId;
-
 
247
        }
-
 
248
 
-
 
249
        public Date getTaskDate() {
-
 
250
            return taskDate;
-
 
251
        }
-
 
252
 
-
 
253
        public void setTaskDate(Date taskDate) {
-
 
254
            this.taskDate = taskDate;
-
 
255
        }
-
 
256
 
-
 
257
        @Override
-
 
258
        public String toString() {
-
 
259
            return "Path{" +
-
 
260
                    "lat=" + lat +
-
 
261
                    ", lng=" + lng +
-
 
262
                    ", accuracy=" + accuracy +
-
 
263
                    ", timestamp=" + timestamp +
-
 
264
                    '}';
-
 
265
        }
-
 
266
    }
-
 
267
 
-
 
268
    @Override
205
    @Override
269
    public String toString() {
206
    public String toString() {
270
        return "LocationTrackingModel{" +
207
        return "LocationTrackingModel{" +
271
                "id=" + id +
208
                "id=" + id +
272
                ", userId=" + userId +
209
                ", userId=" + userId +
Line 284... Line 221...
284
                ", address='" + address + '\'' +
221
                ", address='" + address + '\'' +
285
                ", attachment='" + attachment + '\'' +
222
                ", attachment='" + attachment + '\'' +
286
                ", totalDistance=" + totalDistance +
223
                ", totalDistance=" + totalDistance +
287
                ", assignedBy=" + assignedBy +
224
                ", assignedBy=" + assignedBy +
288
                ", status=" + status +
225
                ", status=" + status +
-
 
226
                ", journeyPath=" + journeyPath +
289
                '}';
227
                '}';
290
    }
228
    }
291
}
229
}
292
230