3.2 · Challenge

Challenge: Create Person class

Your challenge is to use the skills from last lesson to create a class for the Person domain.

In the src/main/java/com/example/appspringdata directory, create a new file called Person.java, then choose class as the type. Utilizing the following list of Full definition for property (opens in a new tab)A named value stored on a node or a relationship. and data types for the Person Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. in Neo4j, map your domain class with the imdbId field as the class's identifier and an @Node annotation at the top. You can also verify the data types yourself by running the query shown in the Query pane on the right.