Problem 2: Generate a Class Diagram for Bike ordering system…
Problem 2: Generate a Class Diagram for Bike ordering system. A bike store sells bikes. Bikes consist of 2 wheels, 1 crank, and 1 stern. System needs to store Serial number and model type for each bike. For a customer the system stores customer id, name, and address. There are two types of Store Employees: Full time and Part time. System needs to store Employee ID, name, and address. Customer originates a Sales Order. One customer can buy more than one bike. A Sales Order consists of Order ID, Date. An Employee interacts with the customer to place the Sales Order. Sales Order contains information about one or more bikes being sold. System needs to keep track of employee who dealt with the customer for that particular order. It also needs to allow for the customer to have more than one order and keep details of employee and order for each order.