Database Project Finalized
Database Project Finalized
Abbas Bassem
Students:
Mohammad Mattar
Mohammad Ajame
Basim El Hage Sleiman
Final Amount Date Inv. ID Comment F Date FID IsAvailable E Time S Time
Discount Invoice Feedback Schedule Days of
the week
Vat M M
M
es
Assigned to
Re
av ciev
Le es
1 1 1
FirstName LastName
Ge 1
n
BID
er
at Name
e 1
C.Address CID App.Id App Date Notes
Phone No 1
Barber Years Ex
Customer
M
Appointment M Performs
1 ts
Se
1 Make
FirstName s Phone No Hire Date
Name Gender M Status 1
M Paid
LastName For
M
includes
description duration amount PID
Reorder level N
SID Service Payment
Inventory
ER Diagram:
ins
Conta
rest
oc M
ks
QIS Last restock
Date M
Product Pname
price brand PID
Schema:
Appointment
App ID App Date Status BID CID
Customer
CID Fname Lname Gender Phone No Address
Barber
BID fname lname Phone no Hire Date Years Ex
Schedule
Days
IsAvailable S Time E Time of the week BID
Payment
Date Method Amount CID
Service
Description Price Sname
Product
Pname Brand price IID
Inventory
Reader Level Supplier LRD QIS
Feedback
FID Fdate Comments CID BID
Invoice
InvID Final Amount Date Disc VAT App ID
Contains
PID
Includes
App ID SID
Method
PID Method
1. Customer
Represents a person receiving services from the barber-
shop.
2. Appointment
A scheduled meeting between a customer and a barber for
one or more services.
3. Barber
A person who performs services (e.g., haircut, beard trim).
4. Schedule
Indicates the availability of barbers.
5. Service
Represents the types of services offered (e.g., haircut,
shave).
7. Inventory
Tracks stock and supply of products.
8. Invoice
A billing document generated for services provided.
9. Payment
A record of a financial transaction for services.
10. Feedback
Customer comments or reviews about the barber or service.