In: Computer Science
Prestige Automobile Rental (PAR) is a vehicle rental company that rents old vehicles to the public. PAR has been using manual methods for keeping track of their customers and their rentals. However, the company would now like to go online and allow customers to search the available vehicles and see their rental history. For the first time, when the customer rents a vehicle from PAR their details (name, address, phone number, driving license number and credit card number) are recorded. The date they become a customer is also stored. There are certain types of vehicles which are classified as heavy vehicles. It is a policy of PAR that these vehicles are only rented to customers who have no demerit points on their driving license. The information about the vehicle (type, registration number, year/make/model, vin number, distance travelled and current condition) are also stored. Each vehicle has a unique ID. The customer can search for their desired vehicle and can see if it is available. All rentals are for 7 days. Rental charges are based on the type of vehicle (Car (C) or Heavy Duty (HD)). Rental must be paid for on collection. Customers can rent up to 2 vehicles at a time. Each rentalID is for a single vehicle for one customer. (The rentalID is an auto number). When the rental is taken out the date of checkout is recorded along with calculated due date (7 days from checkout date). When the rental is returned, the date is recorded in the returned date. PAR would like to store ‘demerit’ points for the renter in order to identify bad renters. These demerit points are accumulated at a rate of one point per day a rental is overdue. PAR will cancel the membership of the customers who have too many demerit points.
• Develop an Entity Relationship Diagram • Make a Relational Schema (including Primary, Foreign Keys and all attributes). • Provide Supplementary Design requirements (data attribute information)
According to the suggestion provided in the question,here is the Entity Relationship Diagram(ERD) of Prestige Automobile Rental(PAR):
Here is the all relational schemas:
Prestige Automobile Rental (PAR) is a vehicle rental company that rents old vehicles to the public. PAR has been using manual methods for keeping track of their customers and their rentals.It is a online system and allow users to search any kind and type of vehicle for rents.If any customer rent any vehicle for the first time then they have to submit their details according to the PAR policy and conditions and their data must be recorded in their database.There are different types of vehicle(Cars and Heavy duty) available for rents in this system and it is available for only 7 days and rental charges are based on vehicle type either it will bw Car(C) or Heavy Duty(HD).
Thank you!....