0% found this document useful (0 votes)
213 views

CoffeeShopER Model

The document describes the database schema for Love You Latte Coffee Shop. The schema includes tables for stores, products, transactions, customers, rewards accounts, employees, addresses, and suppliers. Relationships exist between the tables like customers being linked to transactions and rewards accounts, employees being linked to stores, and products being linked to transactions.

Uploaded by

me
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
213 views

CoffeeShopER Model

The document describes the database schema for Love You Latte Coffee Shop. The schema includes tables for stores, products, transactions, customers, rewards accounts, employees, addresses, and suppliers. Relationships exist between the tables like customers being linked to transactions and rewards accounts, employees being linked to stores, and products being linked to transactions.

Uploaded by

me
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Love You Latte Coffee Shop

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

Email Register OnHand

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

You might also like