spring-projects/spring-data-neo4j — pull request #188 by inserpio (2014-06-07 15:22:07+00:00)
Title: Added "Property" annotation to explicitly set Node property names

(something similar to @Column annotation in Hibernate).

Example:

@NodeEntity
public class Artist extends IdentifiableEntity {

@Property(name = "first_name")
private String firstName;

@Property(name = "last_name")
private String lastName;

public Artist() {
}

public Artist(String firstName, String lastName) {

this.firstName = firstName;
this.lastName = lastName;
}
}