added ignores to fields that dont need to be in the database
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
package com.a1.nextlocation.data;
|
package com.a1.nextlocation.data;
|
||||||
|
|
||||||
|
import androidx.room.Ignore;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class Data {
|
public class Data {
|
||||||
@@ -7,8 +9,14 @@ public class Data {
|
|||||||
private int locationsVisited;
|
private int locationsVisited;
|
||||||
private int totalTime;
|
private int totalTime;
|
||||||
private List<Coupon> couponList;
|
private List<Coupon> couponList;
|
||||||
|
|
||||||
|
@Ignore
|
||||||
private Location nextLocation;
|
private Location nextLocation;
|
||||||
|
|
||||||
|
@Ignore
|
||||||
private Location lastLocation;
|
private Location lastLocation;
|
||||||
|
|
||||||
|
@Ignore
|
||||||
private Route currentRoute;
|
private Route currentRoute;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user