Theater -name -have many movies
- street_address
Room -Room_no -capacity:integer -theater_id:integer
Movie -name -have many showtimes -description -rating -runtime -genre -release_date:datetime
Showtime (belongs to Movie) -movie_id:integer -start_time:datetime -end_time:datetime
Seat (belongs to a ticket) -movie_id:integer -room_id:integer
Customer
We want to be able to call these methods and get the expected results. if we do this, then we know that our database is being setup correctly.
theaters => Theater.all theater.movies => [list of movies] movie.showtimes => [list of showtimes] showtime.tickets ticket.seat
Movies Showtimes Theaters Tickets Seats
exists in the '/client' folder