ER diagram of an online shoe store

Published on June 2016 | Categories: Types, Maps | Downloads: 164 | Comments: 0 | Views: 728
of 2
Download PDF   Embed   Report

ER diagram of an online shoe store

Comments

Content

Eduardo F. Valdez

Sept.25,2015

2012-97976

Prof.Mendoza

CS 165 MP : “E-commerce website ; Sole Finder an online shoe store “
Specifications:
A customer described by (SSN,name,phone,addr) can buy any available shoes if he/she wishes
to.
A
shoe
is
described
by
(pid
,
type
(for
men,women,grade
school),sport(basketball,football,casual etc.),brand,price,qty (no. of stocks left),rating) ). Let’s say
we want to keep track of the size of the shoe in US(inches) , UK(inches) and EU (cm) and detailed
information about its Supplier (sid,phone,name,addr). Each shoe is supplied by at least one
supplier.
Once a customer picks a shoe it will be added as a Cart Item described by (cid,quantity(no. of
pairs of that certain shoe ) , total_cost) . Each Cart Item should be in exactly one Cart and the Cart
described by (cart_id, total cost ) consists of at least one Cart Item . The Customer does Payment
described by(payment_id, amount, payment_type (debit card,credit card,atm etc. ), date , time) if
he will finally checkout (The customer may not actually proceed in buying the cart , thus I did not
put any constraints there much) .

pid

Name

SSN

Type

Rating

Price

Brand

Sport

Phone

qty

UK

Addr

Customer

picks

Shoe

US

has

Size

added_to
Does

amount

cid

quantity
payment_id

EU

Cart_item
from

Payment
sid

total_cost

Supplier

payment_type
Phone

consists_of

Date

Addr
Time

done_for

Cart
cart_id

total_cost

Name

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close