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
:
a many-to-one association assigning exactly one person as the director of a movie, and
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:
Movies | ||||
---|---|---|---|---|
Movie ID | Title | Release date | Director | Actors |
1 | Pulp Fiction | 1994-05-12 | 3 | 4, 5 |
2 | Star Wars | 1977-05-25 | 2 | 6, 7 |
3 | Dangerous Liaisons | 1988-12-16 | 1 | 8, 4 |
People | |
---|---|
Person ID | Name |
1 | Stephen Frears |
2 | George Lucas |
3 | Quentin Tarantino |
4 | Uma Thurman |
5 | John Travolta |
6 | Ewan McGregor |
7 | Natalie Portman |
8 | Keanu Reeves |
More movie data can be found on the IMDb website.