I want to do a simple program called "Ticketer", where you can:
- add new event with number of tickets available
- assign a ticket to customer.
I am not sure how to properly Design classes.
This is what I've got so far:
Class Event
----
Name
Date
QuantityOfTickets-which is how many tickets that event have
Class EventTicket extends Event
-----------
ticket[QuantityOfTickets]-after creatting any Event class create an array of tickets for
as many as we set up in Event class.
TicketNumber
Object Customer
+3 fields from Event (Event.Name,Event.Date and Event.QuantityOfTickets)
Class Customer
-------------
Id
FistName
LastName
Can you please tell me in if that's a good approach and guide me, in general, step by step how to do this program ?
Thank You