I'm trying to write a program that deals with movies, theaters and what
movies play at what theaters.
Here are the 3 tables I have:
tbl_movie
Code:
movie_id
name
...
tbl_venueCode:
venue_id
name
...
tbl_movie_venue_mapCode:
movie_id
venue_id
start_date
end_date
time_info
price_info
....
My initial approach is to have 3 classes:
Movie
Venue
MovieVenueMap
MovieVenueMap will obviously hold Movie and Venue entities and the
additional field values (start_date, end_date, etc)...
Is this the correct approach? Or is there a better, more efficient way of representing the tbl_movie_venue_map?
Thanks in advance,
Cagan