Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Entity("vehicles")
public class Vehicle
extends AbstractMongodbEntity
implements Linkable {
private int year;
private String make;
private String model;
private String color;
private String type;
private int mileage;
// abridged...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment