// Path: app/models/TrackSession.java
// public static class Model {
// 	@ObjectId
// 	@Id
// 	public String _id;
// 	public Date startedAt;
// 	public Date firstActionAt;
// 	public Date lastActionAt;
// 	public String userAgent;
// 	public String ip;
// 	public String country;
// 	public String language;
// 	public String host;
// 	//Extracted for possible analytical functions
// 	public String browser;
// 	public String os;
// 	public String mainLanguage;
// 		
// 	@ObjectId
// 	public String userId;
// }


import java.util.Date;
import com.mongodb.BasicDBObject;
import models.TrackSession.Model;
import net.vz.mongodb.jackson.Id;
import net.vz.mongodb.jackson.JacksonDBCollection;
import net.vz.mongodb.jackson.MongoCollection;
import net.vz.mongodb.jackson.ObjectId;
import net.vz.mongodb.jackson.WriteResult;
import play.modules.mongodb.jackson.MongoDB;
package models;




//TODO: ensureIndex, indexes, query index in Mongo
@MongoCollection(name = "recorded_location")
public class RecordedLocation {

// Path: app/models/TrackSession.java
// public static class Model {
// 	@ObjectId
// 	@Id
// 	public String _id;
// 	public Date startedAt;
// 	public Date firstActionAt;
// 	public Date lastActionAt;
// 	public String userAgent;
// 	public String ip;
// 	public String country;
// 	public String language;
// 	public String host;
// 	//Extracted for possible analytical functions
// 	public String browser;
// 	public String os;
// 	public String mainLanguage;
// 		
// 	@ObjectId
// 	public String userId;
// }


// Path: app/models/RecordedLocation.java
import java.util.Date;
import com.mongodb.BasicDBObject;
import models.TrackSession.Model;
import net.vz.mongodb.jackson.Id;
import net.vz.mongodb.jackson.JacksonDBCollection;
import net.vz.mongodb.jackson.MongoCollection;
import net.vz.mongodb.jackson.ObjectId;
import net.vz.mongodb.jackson.WriteResult;
import play.modules.mongodb.jackson.MongoDB;

package models;




//TODO: ensureIndex, indexes, query index in Mongo
@MongoCollection(name = "recorded_location")
public class RecordedLocation {

	public static JacksonDBCollection<RecordedLocation.Model, String> coll = MongoDB.getCollection("recorded_location", RecordedLocation.Model.class, String.class);