In cinema, people usually purchase a ticket after, they pay money for a certain show. So based on that we can design the software system like below to store each transaction that has details about purchaser of ticket, show details and so on.
Transactions: Class used to create transaction in a cinema hall
Attribute:-
Name: Name of person Age:
Age of Person
Phone Number: Phone number
Email: email of person
customer_type: type of customer (can be ordinary or privilege)
room_type: type of customer (can be ordinary customer_type normal else luxurious)
date: transaction date
payment_mode: Transaction can be either done in cash or credit amount: amount of ticket
ticket_time: time of show
methods:
create_transaction(name, phone, email, date, payment_mode, amount, ticket_time): creates a history of a transaction after a ticket has been purchased