CoffeeShopER Model
CoffeeShopER Model
Store 1
PK store_ID
1
Person Transaction_Master Product
Phone
1 1 1
1 1 1
PK ID PK trans_ID PK ID
Name
1
Email Name FK person_ID Description
M
FK address_ID FK address_ID dateTime current_price
M
Manager Phone FK store_ID reward_factor
M FK Clerk reorder_pt
Barista
PayType reorder_qty
1 Rewards_Account
PK ID
UnitOfMeasure
PK ID
FirstName
M
Balance
LastName
Transaction_Product
Badge
PK trans_ID Product_Supplier
FK store_ID Customer_Favorites M
M M
M FK product_ID PK FK prod_ID
M
PK FK person_ID
Quantity PK FK Supp_ID
M
PK FK product_ID M
Price Cost
Addresses
Cream
Days
PK ID
1 Sugar
1 Address
Supplier
City 1
Transaction_Reward
PK ID
State
PK trans_ID M
M FK add_ID
Zip M
FK person_ID
Phone
Reward
Email