package data.domain.nodes; import org.springframework.data.neo4j.annotation.GraphId; import org.springframework.data.neo4j.annotation.NodeEntity; @NodeEntity public class Movie { @GraphId private Long id; private String title; public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } }