Subversion Repositories SmartDukaan

Rev

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

Rev 34761 Rev 34769
Line 23... Line 23...
23
    private String deviceId;
23
    private String deviceId;
24
 
24
 
25
    @Column(name = "task_id", nullable = false)
25
    @Column(name = "task_id", nullable = false)
26
    private int taskId;
26
    private int taskId;
27
 
27
 
28
    @Column(name = "lat_lng", nullable = false, length = 191)
28
    @Column(name = "checkin_lat_lng", nullable = false, length = 191)
29
    private String latLng;
29
    private String checkInLatLng;
-
 
30
 
-
 
31
    @Column(name = "checkout_lat_lng", nullable = false, length = 191)
-
 
32
    private String checkOutLatLng;
30
 
33
 
31
    @Column(name = "task_date", nullable = false)
34
    @Column(name = "task_date", nullable = false)
32
    private LocalDate taskDate;
35
    private LocalDate taskDate;
33
 
36
 
34
    @Column(name = "task_name", nullable = false, length = 191)
37
    @Column(name = "task_name", nullable = false, length = 191)
Line 50... Line 53...
50
    private LocalTime timeSpent;
53
    private LocalTime timeSpent;
51
 
54
 
52
    @Column(name = "task_type", nullable = false, length = 191)
55
    @Column(name = "task_type", nullable = false, length = 191)
53
    private String taskType;
56
    private String taskType;
54
 
57
 
-
 
58
    @Column(name = "session_start_time")
-
 
59
    private LocalTime sessionStartTime;
-
 
60
 
55
    @Column(name = "task_time")
61
    @Column(name = "session_end_time")
56
    private LocalTime taskTime;
62
    private LocalTime sessionEndTime;
57
 
63
 
58
    @Column(name = "task_description", columnDefinition = "TEXT")
64
    @Column(name = "task_description", columnDefinition = "TEXT")
59
    private String taskDescription;
65
    private String taskDescription;
60
 
66
 
61
    @Column(name = "address", nullable = false, length = 500)
67
    @Column(name = "address", nullable = false, length = 500)
Line 114... Line 120...
114
 
120
 
115
    public void setTaskId(int taskId) {
121
    public void setTaskId(int taskId) {
116
        this.taskId = taskId;
122
        this.taskId = taskId;
117
    }
123
    }
118
 
124
 
119
    public String getLatLng() {
125
    public String getCheckInLatLng() {
120
        return latLng;
126
        return checkInLatLng;
121
    }
127
    }
122
 
128
 
123
    public void setLatLng(String latLng) {
129
    public void setCheckInLatLng(String checkInLatLng) {
124
        this.latLng = latLng;
130
        this.checkInLatLng = checkInLatLng;
-
 
131
    }
-
 
132
 
-
 
133
    public String getCheckOutLatLng() {
-
 
134
        return checkOutLatLng;
-
 
135
    }
-
 
136
 
-
 
137
    public void setCheckOutLatLng(String checkOutLatLng) {
-
 
138
        this.checkOutLatLng = checkOutLatLng;
125
    }
139
    }
126
 
140
 
127
    public LocalDate getTaskDate() {
141
    public LocalDate getTaskDate() {
128
        return taskDate;
142
        return taskDate;
129
    }
143
    }
Line 138... Line 152...
138
 
152
 
139
    public void setTaskName(String taskName) {
153
    public void setTaskName(String taskName) {
140
        this.taskName = taskName;
154
        this.taskName = taskName;
141
    }
155
    }
142
 
156
 
143
    public String getTaskType() {
157
    public String getMarkType() {
144
        return taskType;
158
        return markType;
145
    }
159
    }
146
 
160
 
147
    public void setTaskType(String taskType) {
161
    public void setMarkType(String markType) {
148
        this.taskType = taskType;
162
        this.markType = markType;
149
    }
163
    }
150
 
164
 
151
    public LocalTime getCheckInTime() {
165
    public LocalTime getCheckInTime() {
152
        return checkInTime;
166
        return checkInTime;
153
    }
167
    }
Line 178... Line 192...
178
 
192
 
179
    public void setTimeSpent(LocalTime timeSpent) {
193
    public void setTimeSpent(LocalTime timeSpent) {
180
        this.timeSpent = timeSpent;
194
        this.timeSpent = timeSpent;
181
    }
195
    }
182
 
196
 
183
    public boolean isStatus() {
197
    public String getTaskType() {
184
        return status;
198
        return taskType;
185
    }
199
    }
186
 
200
 
187
    public LocalTime getTaskTime() {
201
    public void setTaskType(String taskType) {
188
        return taskTime;
202
        this.taskType = taskType;
189
    }
203
    }
190
 
204
 
-
 
205
    public LocalTime getSessionStartTime() {
-
 
206
        return sessionStartTime;
-
 
207
    }
-
 
208
 
-
 
209
    public void setSessionStartTime(LocalTime sessionStartTime) {
-
 
210
        this.sessionStartTime = sessionStartTime;
-
 
211
    }
-
 
212
 
-
 
213
    public LocalTime getSessionEndTime() {
-
 
214
        return sessionEndTime;
-
 
215
    }
-
 
216
 
191
    public void setTaskTime(LocalTime taskTime) {
217
    public void setSessionEndTime(LocalTime sessionEndTime) {
192
        this.taskTime = taskTime;
218
        this.sessionEndTime = sessionEndTime;
193
    }
219
    }
194
 
220
 
195
    public String getTaskDescription() {
221
    public String getTaskDescription() {
196
        return taskDescription;
222
        return taskDescription;
197
    }
223
    }
Line 222... Line 248...
222
 
248
 
223
    public void setTotalDistance(String totalDistance) {
249
    public void setTotalDistance(String totalDistance) {
224
        this.totalDistance = totalDistance;
250
        this.totalDistance = totalDistance;
225
    }
251
    }
226
 
252
 
227
    public String getMarkType() {
-
 
228
        return markType;
-
 
229
    }
-
 
230
 
-
 
231
    public void setMarkType(String markType) {
-
 
232
        this.markType = markType;
-
 
233
    }
-
 
234
 
-
 
235
    public LocalTime getEstimatedTime() {
253
    public LocalTime getEstimatedTime() {
236
        return estimatedTime;
254
        return estimatedTime;
237
    }
255
    }
238
 
256
 
239
    public void setEstimatedTime(LocalTime estimatedTime) {
257
    public void setEstimatedTime(LocalTime estimatedTime) {
Line 246... Line 264...
246
 
264
 
247
    public void setAssignedBy(int assignedBy) {
265
    public void setAssignedBy(int assignedBy) {
248
        this.assignedBy = assignedBy;
266
        this.assignedBy = assignedBy;
249
    }
267
    }
250
 
268
 
251
    public boolean getStatus() {
269
    public boolean isStatus() {
252
        return status;
270
        return status;
253
    }
271
    }
254
 
272
 
255
    public void setStatus(boolean status) {
273
    public void setStatus(boolean status) {
256
        this.status = status;
274
        this.status = status;
Line 276... Line 294...
276
    public String toString() {
294
    public String toString() {
277
        return "LocationTracking{" +
295
        return "LocationTracking{" +
278
                "id=" + id +
296
                "id=" + id +
279
                ", userId=" + userId +
297
                ", userId=" + userId +
280
                ", deviceId='" + deviceId + '\'' +
298
                ", deviceId='" + deviceId + '\'' +
-
 
299
                ", taskId=" + taskId +
281
                ", latLng='" + latLng + '\'' +
300
                ", checkInLatLng='" + checkInLatLng + '\'' +
-
 
301
                ", checkOutLatLng='" + checkOutLatLng + '\'' +
282
                ", taskDate=" + taskDate +
302
                ", taskDate=" + taskDate +
283
                ", taskName='" + taskName + '\'' +
303
                ", taskName='" + taskName + '\'' +
-
 
304
                ", markType='" + markType + '\'' +
284
                ", checkInTime='" + checkInTime + '\'' +
305
                ", checkInTime=" + checkInTime +
285
                ", checkOutTime='" + checkOutTime + '\'' +
306
                ", checkOutTime=" + checkOutTime +
286
                ", transitTime='" + transitTime + '\'' +
307
                ", transitTime=" + transitTime +
287
                ", timeSpent='" + timeSpent + '\'' +
308
                ", timeSpent=" + timeSpent +
288
                ", taskType='" + taskType + '\'' +
309
                ", taskType='" + taskType + '\'' +
-
 
310
                ", sessionStartTime=" + sessionStartTime +
289
                ", taskTime=" + taskTime +
311
                ", sessionEndTime=" + sessionEndTime +
290
                ", taskDescription='" + taskDescription + '\'' +
312
                ", taskDescription='" + taskDescription + '\'' +
291
                ", address='" + address + '\'' +
313
                ", address='" + address + '\'' +
292
                ", attachment='" + attachment + '\'' +
314
                ", attachment='" + attachment + '\'' +
293
                ", totalDistance=" + totalDistance +
315
                ", totalDistance='" + totalDistance + '\'' +
-
 
316
                ", estimatedTime=" + estimatedTime +
294
                ", assignedBy=" + assignedBy +
317
                ", assignedBy=" + assignedBy +
295
                ", status=" + status +
318
                ", status=" + status +
296
                ", createdTimestamp=" + createdTimestamp +
319
                ", createdTimestamp=" + createdTimestamp +
297
                ", updatedTimestamp=" + updatedTimestamp +
320
                ", updatedTimestamp=" + updatedTimestamp +
298
                '}';
321
                '}';