36

EER ( Extended Entity-Relationship Model)

  • Upload
    student

  • View
    291

  • Download
    5

Embed Size (px)

Citation preview

Page 1: EER ( Extended Entity-Relationship Model)
Page 2: EER ( Extended Entity-Relationship Model)

A Custom Pizza Online Website Was Created For Customers Of A Pizzeria To Create Their Orders Online. The Pizzeria Has Been Taking Orders By Phone For A Long Time And They Wanted To Add The Option For Customers To Create Orders Online.

Existing Webshop Solutions Involves Putting Products In Categories.

Such A Division Is Not Suitable For Ordering Custom Pizzas.

There Is A Need To Allow Users To Pick Ingredients For A Pizza, Ability To Configure Multiple Custom Pizzas And The Ability To Order Other Products Besides Pizzas.

Our Solution Separates The Ordering Of Products In Non Pizza Products And Custom Pizzas Which Consists Of A Selection Of Ingredients For Pizzas.

The Website Allows Customers To Create Custom Pizzas, Pick Non Pizza Products And Enter Delivery Information.

Page 3: EER ( Extended Entity-Relationship Model)

•Employees Can Process Accept Or Deny Orders, And Update The Status As Processing Orders Continues. •The Customer Will Be Kept Up To Date By Email Notification When The Order Status Changes. •The Administrator Can Add And Edit Ingredients, Non Pizza Products And He Can Also Add Employee Accounts So The Employees Can Log In To Process The Orders.

Page 4: EER ( Extended Entity-Relationship Model)

Three Types Of Users Should Be Able To Use The System: Customer, Employee And Administrator(As main employee).

Customers Are Users Who Visit The Website And Can Create Orders By Customizing Pizzas, Selecting Products And Entering Customer Details.

Employees Are The Group Of Users That Work With The Ordering System On A Daily Basis.

Employees Will Have Their Own Accounts To Log On To. They Are The Ones Responsible For Processing Orders.

Since Customer Users Do Not Need A Log In, Employees Who Process Telephone Orders Can Use The System As A Customer And Enter The Telephone Order Directly Into The System As They Take The Order From The Calling Customer.

The Administrator, Or Super User, Has The Ultimate Control Of The System, He Can Add, Change Or Delete Ingredients And Products, As Well As Add, Change, Or Delete Employee Accounts.

Page 5: EER ( Extended Entity-Relationship Model)

Order

Customer

Employee

Product

Page 6: EER ( Extended Entity-Relationship Model)

Order: O_Id, P_Id, Delivery_Date & Time,

Order_Date ,Order_Time, Total_Price.

Customer: C_Id, C_Name, Add(Room No,

Street No, Street Name, City), Pno, Email.

Employee: E_Id, E_Name, Pwd.

Product: P_Id,

Product_Details(Pizza(p_id,Ingredients_Name,

Price1), Non_Pizza(p_id,p_name,Price2),

O_Id, P_Desc.

Page 7: EER ( Extended Entity-Relationship Model)
Page 8: EER ( Extended Entity-Relationship Model)

Variable Name Variable Type Variable Width Values/Notes

C_Id Numeric 4 1-9

Email Varchar 30 [email protected]

F_Name Varchar 50 ABCD

L_Name Varchar 50 ABCD

S_Name Varchar 50 ABCD

Room_No Number 4 1-9

Street No Number 4 1-9

Street Name Varchar 20 A-Z,A-Z

City Varchar 10 A-Z,A-Z

Pno Varchar 10 1-9

Page 9: EER ( Extended Entity-Relationship Model)

Variable Name Variable Type Variable

Width

Values/Notes

O_Id Numeric 3 001-900

P_Id Numeric 3 1-300

O_Date Date ’2014-03-28’

O_Time Time ’00:00:00’

D_Date & Time Datetime ’2014-03-28’

T_Price Numeric 5 1-9

Page 10: EER ( Extended Entity-Relationship Model)

Variable Name Variable Type Variable Width Values/Notes

E_Id Number 2 1-9

F_Name Varchar 50 ABCD

L_Name Varchar 50 ABCD

S_Name Varchar 50 ABCD

Password Varchar 10 A-Z,A-Z,1-9

Page 11: EER ( Extended Entity-Relationship Model)

Variable Name Variable Type Variable Width Values/Notes

E_Id Number 3 1-9

O_Id Numeric 3 001-900

P_Id Numeric 3 1-300

C_Id Numeric 4 1-5000

Page 12: EER ( Extended Entity-Relationship Model)

Variable Name Variable Type Variable Width Values/Notes

P_Id Numeric 3 1-9

Product Name Varchar 10 A-Z,A-Z

Price Numeric 3 1-9

Variable Name Variable Type Variable Width Values/Notes

P_Id Numeric 3 1-9

Product Name Varchar 10 A-Z,A-Z

Price Numeric 3 1-9

Page 13: EER ( Extended Entity-Relationship Model)
Page 14: EER ( Extended Entity-Relationship Model)
Page 15: EER ( Extended Entity-Relationship Model)
Page 16: EER ( Extended Entity-Relationship Model)
Page 17: EER ( Extended Entity-Relationship Model)
Page 18: EER ( Extended Entity-Relationship Model)
Page 19: EER ( Extended Entity-Relationship Model)
Page 20: EER ( Extended Entity-Relationship Model)
Page 21: EER ( Extended Entity-Relationship Model)
Page 22: EER ( Extended Entity-Relationship Model)
Page 23: EER ( Extended Entity-Relationship Model)
Page 24: EER ( Extended Entity-Relationship Model)
Page 25: EER ( Extended Entity-Relationship Model)
Page 26: EER ( Extended Entity-Relationship Model)
Page 27: EER ( Extended Entity-Relationship Model)
Page 28: EER ( Extended Entity-Relationship Model)
Page 29: EER ( Extended Entity-Relationship Model)
Page 30: EER ( Extended Entity-Relationship Model)
Page 31: EER ( Extended Entity-Relationship Model)
Page 32: EER ( Extended Entity-Relationship Model)
Page 33: EER ( Extended Entity-Relationship Model)
Page 34: EER ( Extended Entity-Relationship Model)
Page 35: EER ( Extended Entity-Relationship Model)
Page 36: EER ( Extended Entity-Relationship Model)