Professional Documents
Culture Documents
186 GP Project
186 GP Project
The cinema movie ticket system will empower users to browse movie
listings,select preferred showtimes,choose seats from an interactive seating
map, and complete transactions securely all within a cohesive and intuitive
interface.Furthermore,administrators will have access to tools for managing
movie schedules,seat availability,pricing and generating insightful reports to
optimize theater operations.
3.0 Objectives
1. Movie Class:
- Attributes:
-MovieName:Represents the name of the movie.
-MovieShow:Represents the date and time of the movie show.
-Venue:Represents the venue where the movie is being shown.
- Method:
-UpdateDetails(): Allows updating details of the movie, such as showtime or
venue.
2. RegisteredUser Class:
- Attributes:
-Id:Represents the unique identifier of the registered user.
-Name:Represents the name of the registered user.
-PhNo:Represents the phone number of the registered user.
-Address:Represents the address of the registered user.
- Methods:
-Login():Allows the user to log in.
-Logout():Allows the user to log out.
-ViewMovies():Allows the user to view available movies.
-BookTicket():Allows the user to book tickets for a movie.
-MakePayment():Allows the user to make a payment for the booked tickets.
-CancelTicket():Allows the user to cancel a booked ticket.
3. Admin Class:
- Attributes:
-Id:Represents the unique identifier of the admin.
-Name:Represents the name of the admin.
-Password:Represents the password of the admin.
- Methods:
-AddMovieRecords():Allows the admin to add records of new movies.
-UpdateMovieRecords():Allows the admin to update details of existing
movies.
-DeleteMovieRecords():Allows the admin to delete records of movies.
4. Visitor Class:
- Attributes:
-Name:Represents the name of the visitor.
- Methods:
-GetRegistered():Allows the visitor to register as a registered user. -
ViewMovies():Allows the visitor to view available movies.
5. MakePayment Class:
- Attributes:
-Id:Represents the unique identifier of the payment transaction.
-Amount:Represents the amount to be paid.
-TransactionId:Represents the unique identifier of the payment transaction. -
UserId:Represents the unique identifier of the user making the payment.
- Methods:
-ConfirmTransaction():Allows confirming the payment transaction. -
ReturnMoneyOnCancellation()Allows returning money in case of ticket
cancellation.
6. BookTicket Class:
- Attributes:
-NoOfTicketsAvailable:Represents the number of tickets available for
booking.
-MovieNameRepresents: the name of the movie for which tickets are being
booked.
-ShowNo:Represents the show number or identifier.
-Date:Represents the date of the show.
-Time:Represents the time of the show.
-Venue:Represents the venue of the show.
- Methods:
-UpdateSeatsAvailable():Allows updating the number of available seats after
booking tickets.
- Customer’s name
- Movie
- Showtime
- Cinema type
- Membership
- Payment Method
- Total price