Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i want class diagram with attributes ,operations and relationships ,thank you Hotel Booking System Log in Add hotel to the system Add new customer to
i want class diagram with attributes ,operations and relationships ,thank you
Hotel Booking System Log in Add hotel to the system Add new customer to the system View all Hotels View all customers Ok View all bookings Customer Administrator View bookings that are related to a specific hotel update hotel information Delete a hotel from the system make a hotel booking View my bookings Cancel booking before paying money Pay for a booking Log out Overview You are required to design and implement a software system that handles the required services and transactions relative to tourist agent for hotel booking. Such system is usually installed as an application on smart phones to provide more accessibility and convenience for users However, in this course we will implement the same system as C# console application to adopt object-oriented design. The proposed system involves: booking of hotels in advance, payment and canceling booking The system maintains a database for all involved entities (customers, hotels, and bookings). Hence, your system must include an I/O file for each entity, so we will have three files in total. These files must be permanent (remain after program halt) and accessed by users to achieve their desired functionalities and be updated continuously throughout the running time of the system. Every customer has the following information: name (unique), password, and credit. Whereas every hotel has the following information: name (unique), classification, location, daily cost for one room (breakfast), daily cost for one room (all meals), number of available rooms, discount and total hotel's income. For every booking the system records the following information: ID (unique), customer name, hotel name, status (completed or not completed), number of rooms (rooms that customer already booked), type of meals (B for breakfast /A for all meals), number of days and booking's cost. + As a prerequisite, your implementation program must initially load the database with a set of customers and hotels automatically at the beginning of execution just before doing anything else. The following data must be loaded as is upon running your program: CUSTOMERS name Ali sami Nuha Ola password 123 456 789 credit 5000 8000 2000 15000 246 Hotels name Total income discount classification location Daily cost/one room (B] breakfast Four stars Irbid 25 Five stars Amman 30 Five stars Irbid 32 Three stars Aqaba 10 Daily Number cost/ one of room IAL available all meals rooms 40 97 60 35 70 13 22 200 0 2500 8000 1200 1000 0.1 0.3 0 Dreams Moon VIP Down town Days Inn Rose Red Sea Ramada Five stars 30 75 140 18520 0.2 Four stars Five stars Five stars Wadi rum Petra Aqaba Aqaba 36 42 50 76 98 110 86 177 222 1560 9000 0.15 0.25 15000 0.3 Use Cases: Use case 1: Add a hotel to the system The system asks the administrator to enter all information of the hotel to be added. The system adds the hotel to the system and updates the database accordingly. Use case 2: Add new customer to the system The system asks the administrator to enter all information of the customer to be added. The system adds the new customer to the system and updates the database accordingly. Use case 3: View all Hotels The system displays full information of all hotels saved in the database. Use case 4: View all customers The system displays full information of all customers saved in the database. Use case 5: View all bookings The system displays full information of all bookings (with all status values) that are saved in the database. [displays all bookings for all saved customers) Use case 6: View bookings that are related to a specific hotel. The system asks the administrator to enter the name of the hotel, then views all bookings for all customers that are related to that hotel. Use case 7: update hotel information number of available rooms, cost per day, discount] The system asks the administrator to enter the name of the hotel that he/she wants to update, then ask him/her to enter the new number of available rooms, new per-day cost [breakfast and all meals), and discount. The system updates the related hotel and save these changes in the database. Use case 8: Delete a hotel from the system. The system will delete any hotel from the system with total income Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started