aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/Bus.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/cbaines/suma/Bus.java')
-rw-r--r--src/net/cbaines/suma/Bus.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/cbaines/suma/Bus.java b/src/net/cbaines/suma/Bus.java
index 34e20a6..9894e6b 100644
--- a/src/net/cbaines/suma/Bus.java
+++ b/src/net/cbaines/suma/Bus.java
@@ -35,6 +35,9 @@ public class Bus {
final static String ROUTE_FIELD_NAME = "route";
final static String DIRECTION_FIELD_NAME = "direction";
+ @DatabaseField(generatedId = true)
+ int gid;
+
/**
* The identification number of the bus.
*/