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) .