1. Assign a director and actors to a movie

This project is based on the information design model shown below. The app from the previous assignments is to be extended by adding the possibility to manage data about the actors and the director of a movie. This is achieved by adding a model class Person and two unidirectional associations between Movie and Person:

  1. a many-to-one association assigning exactly one person as the director of a movie, and

  2. a many-to-many association assigning zero or more persons as the actors of a movie.

You can use the following sample data for testing your app:

Movie IDTitleRelease dateDirectorActors
1Pulp Fiction1994-05-1234, 5
2Star Wars1977-05-2526, 7
3Dangerous Liaisons1988-12-1618, 4
Person IDName
1Stephen Frears
2George Lucas
3Quentin Tarantino
4Uma Thurman
5John Travolta
6Ewan McGregor
7Natalie Portman
8Keanu Reeves

More movie data can be found on the IMDb website.