diff options
Added diagram of initial structure
1 files changed, 65 insertions, 0 deletions
| -rw-r--r-- | README.md | 65 |
@@ -1,2 +1,67 @@ # FMI-OOP-P1_TicketSystem TicketSystem: Project 1 from module OOP in FMI Uni-Sofia + +## Initial structure + + + +<details> + <summary>Diagram source</summary> + +``` +[Hall| + int number + unsigned rowCount + unsigned seatsPerRow +] + +[Ticket| + unsigned row + unsigned seat +] + +[Reservation| + char\[6\] password + unsigned row + unsigned seat + String note +] + +[Event| + Ticket* _tickets + Reservation* _reservations| + Date date + String name + Hall hall| + reserveTicket() + cancelReservation() + buyTicket() +] +[Hall]<--[Event] +[Ticket]<--[Event] +[Reservation]<--[Event] + +[EventSystem| + createEvent() + cancelEvent() + reserveTicket(char*, Date, unsigned, unsigned) + cancelReservation() + buyTicket() + queryFreeSeats(Event) + queryReservations(Event) + queryBoughtTickets(Date, Date, Hall) + queryMostVisited() + queryInsufficientlyVisited() +] +[Event]<--[EventSystem] + +[Venue| + Hall* halls + EventSystem es +] +[Hall]<--[Venue] +[EventSystem]<--[Venue] + +[String] +``` +</details> |
