Presentation is loading. Please wait.

Presentation is loading. Please wait.

MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 6: Database Design: Example Rolling Thunder.

Similar presentations


Presentation on theme: "MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 6: Database Design: Example Rolling Thunder."— Presentation transcript:

1 MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 6: Database Design: Example Rolling Thunder

2 Main objects The rolling Thunder Bicycle Company builds custom bicycles. Its Database application is much more complete and provides an example of how the pieces of database system fit together. The task is similar to any other business.

3 Description The most important task at the rolling Thunder Bicycle company is to take order for new bicycles. Several features have been included to non experts to select a good bicycle. As the bicycles are built, the employees record the instruction on the assembly form. When the bicycle is shipped, the customers are billed. Customer payments are recorded on the financial forms. As the components are installed on bicycle, the inventory quantity is automatically decreased. Merchandise is ordered from supplier and payments are made when the shipment arrive.

4 Basic company operations Customer orders.: Customers can place orders directly with the company, or they can order with the assistance of a local bicycle store. Bicycles are assembled and shipped in about two weeks. Basic components are ordered in advance because of shipping delays. Inventory count is maintained by the computer. As workers assemble a bicycle, they record the use of each component. Customer payments can be made at the time of purchase, or as monthly payments. Suppliers are paid only after receipt of shipments.

5 Rolling Thunder Bicycles: The Company

6 Rolling Thunder: Top-Level 6 SalesAssembly PurchasingLocation Bicycle Employee Based on the main activities. We need to look at each one separately

7 Rolling Thunder: Sales Customer CustomerID Phone FirstName LastName Address ZipCode CityID BalanceDue Customer Transaction CustomerID TransactionDate EmployeeID Amount Description Reference Retail Store StoreID StoreName Phone ContactFirstName ContactLastName Address ZipCode CityID Bicycle::Bicycle BicycleID … CustomerID StoreID … 1…1 0…* 1…1 0…* 0…1

8 Rolling Thunder: Bicycle Bicycle SerialNumber CustomerID ModelType PaintID FrameSize OrderDate StartDate ShipDate ShipEmployee FrameAssembler Painter Construction WaterBottleBrazeOn CustomName LetterStyleID StoreID EmployeeID TopTube ChainStay … 1…1 ModelType Description Paint PaintID ColorName ColorStyle ColorList DateIntroduced DateDiscontinued LetterStyle LetterStyleID Description BicycleTubeUsed SerialNumber TubeID Quantity BikeParts SerialNumber ComponentID SubstituteID Location Quantity DateInstalled EmployeeID 1…* 0…* 1…1 0…* 1…1

9 Rolling Thunder: Assembly Bicycle::BikeParts SerialNumber ComponentID... 1…1 Component ComponentID ManufacturerID ProductNumber Road Category Length Height Width Description ListPrice EstimatedCost QuantityOnHand ComponentName AssemblyOrder Description GroupComponents GroupID ComponentID Groupo GroupID GroupName BikeType Bicycle:: BicycleTubeUsed SerialNumber TubeID Quantity TubeMaterial TubeID Material Description Diameter … 0…* 1…1 0…* 1…1 0…* 1…1 0…* 1…1

10 Rolling Thunder: Purchasing PurchaseOrder PurchaseID EmployeeID ManufacturerID TotalList ShippingCost Discount OrderDate ReceiveDate AmountDue 1…1 PurchaseItem PurchaseID ComponentID PricePaid Quantity QuantityReceived Manufacturer ManufacturerID ManufacturerName ContactName Phone Address ZipCode CityID BalanceDue ManufacturerTrans ManufacturerID TransactionDate Reference EmployeeID Amount Description Assembly:: Component ComponentID ManufacturerID ProductNumber 0…* 1…1 0…* 1…1 1…* 0…*

11 Rolling Thunder: Location City CityID ZipCode City State AreaCode Population1990 Population1980 Country Latitude Longitude Sales:: Customer CustomerID … CityID Sales:: RetailStore StoreID … CityID Employee:: Employee EmployeeID … CityID Purchasing:: Manufacturer ManufacturerID … CityID 0…* 1…1 0…* StateTaxRate State TaxRate 1…1 0…1

12 Rolling Thunder: Employee Employee EmployeeID TaxpayerID LastName FirstName HomePhone Address ZipCode CityID DateHired DateReleased CurrentManager SalaryGrade Salary Title WorkArea Bicycle:: Bicycle SerialNumber … EmployeeID ShipEmployee FrameAssembler Painter Bicycle:: BikeParts SerialNumber ComponentID … EmployeeID Purchasing:: PurchaseOrder PurchaseID … EmployeeID 1…1 0…* 1…1 0…* manager manages  worker 0…* 0…1

13 Rolling Thunder: Combined

14 Questions

15 Homework A dentist who runs a small office by himself, three hygienists and receptionist want a database to schedule appointments. He has a commercial billing system to handle payments and insurance but appointments are currently written on paper form(date & time, Dr. name, patient name, fee and procedure [i.e. cleaning, X-ray, filling and so on...]). He wants to add a little more detail and list all the procedures planned, the estimated fee for each procedure, and the estimated insurance coverage. The base fees should be stored with the procedures, but the insurance amounts are highly variable and will be entered by the receptionist who can estimates from the billing system. The system also has to track the patient’s phone, email and how he/she wants to be notified. Eventually, it could send e-mail messages to patients as remainders. Create the class diagram for this case.


Download ppt "MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 6: Database Design: Example Rolling Thunder."

Similar presentations


Ads by Google