Skip to content

Domain Objects

KT edited this page Dec 11, 2018 · 8 revisions

Domain Objects

  1. Movie :
  • We are storing movies requested by users in our database, as and when they request a movie. The Movie DB web service is used for searching and listing movies.
  • User can browse movies, search for latest movies, and can request movies
  • A movie can be showed at an event.

Attributes

  • title (String) : Movie's title
  • overview (String) : Movie's plot or a short summary
  • release_date (String) : Movie's release date
  • rating (String) : Average movie rating (out of 10)
  • poster_url (String) : link to movie's poster
  • homepage_url (String) : link to movie's website
  • status (String) : Whether movie is upcoming or released
  • user (String - a user id, ObjectId) : the ID of the user who has requested the movie
  1. Movie Event : An event can have one or more movies being shown at a get-together among friends or random strangers who wanted to come together for watching a movie in a casual setting instead of a theatre like a park etc.
  2. Booking : A booking represents a transaction whereby a guest user books a ticket for an event.
  3. Ticket : Tickets are created for events. Users can book tickets.

Clone this wiki locally