MediCureHu
b
We Serve to Save
DATA FLOW
01 DIAGRAM
(DFD)
DATA FLOW DIAGRAM
Medicine Order Details
Admin
0.0
Pharmacy Medicine
Order
Process Order
Manageme
nt
System
Customers
Claim Order
02
Tables
Table of Content in
Project
TOTAL TABLES
MEDICIN
ORDERS
E
Content of Medicine 1 2 Content of Orders
Data Data
CUSTOMER SALES
S
Content of Customers 3 4 Content of Sales
Data
Data
MEDICINE
SR.N FIELD NAME DATA TYPES DESCRIPTION
O
1 MedicineID int (Primary Key) Store Medicine Id
2 MedicineName nvarchar(100) Store Medicine Name
3 SKU nvarchar(50) Store Stock Keeping Unit
4 Weight nvarchar(50) Store Medicine Weight
5 Category nvarchar(50) Store Medicine Category
6 Speciality nvarchar(100) Store Medicine Speciality
7 Origin nvarchar(100) Store Medicine Origin
8 Manufacturer nvarchar(50) Store Medicine Manufacture Name
9 Price decimal(10,2) Store Medicine Price
10 MRP decimal(10,2) Store Medicine MRP
11 Stock int Store Medicine Total Stock
12 ExpireDate date Store Medicine Expired Date
13 ImagePath nvarchar(255) Store Medicine Image
ORDERS
SR.N FIELD NAME DATA TYPES DESCRIPTION
O
1 OrderID int (Primary Key) Store Medicine Order ID
2 CustomerID int (Foreign Key) Store Medicine Customer’s ID
3 CustomerName nvarchar(100) Store Customer’s Name
4 PhoneNumber nvarchar(13) Store Customer’s Phone Number
5 Email nvarchar(100) Store Customer’s Email
6 ShippingAddress nvarchar(255) Store Customer’s Address
7 OrderDate datetime Store Date Of Medicine’s Order Placed
8 DeliveryDate datetime Store Date of Medicine Delivery Date
9 PaymentMethod nvarchar(50) Store Method Of Payment
10 TotalAmount decimal(10,2) Store Order’s Total Amount
11 PrescriptionRequired bit Store Prescription Details, If Needed Or
Not
12 MedicineID int (Foreign Key) Store Medicine ID
13 MedicineName nvarchar(100) (Foreign Store Medicine’s Name
Key)
14 Quantity int Store Medicine’s Quantity
CUSTOMERS
SR.N FIELD NAME DATA TYPES DESCRIPTION
O
1 CustomerID int (Primary Key) Store Customer ID
2 FullName nvarchar(50) Store Customer’s Full Name
3 CustomerName nvarchar(100) Store Customer’s Name
4 Email nvarchar(100) Store Email address of the Customer.
5 PhoneNumber nvarchar(13) Store Contact number of the customer.
6 Address nvarchar(255) Store Residential address of the customer.
7 Gender nvarchar(10) Store Gender of the customer
8 DateOfBirth date Store Date of birth of the customer.
9 Password nvarchar(255) Store password for customer login.
10 Status nvarchar(20) Store Current account status (Active/Inactive).
11 IsDeleted bit Store Indicates if the customer account is
deleted (0/1).
12 CreatedAt datetime Timestamp when the customer was added.
13 UpdatedAt datetime Timestamp when the customer details were
last updated.
SALES
SR.N FIELD NAME DATA TYPES DESCRIPTION
O
1 SaleID int (Primary Key) Store Unique identifier for each sale.
2 MedicineID int (Foreign Key) Store Identifier for the sold medicine.
3 QuantitySold int Store Number of medicine units sold.
4 TotalRevenue decimal(10,2) Store Total revenue generated from the sale.
5 SaleDate date Store Date when the sale occurred.
6 CustomerID int (Foreign Key) Store Identifier of the customer who made the
purchase.
7 PaymentMethod nvarchar(50) Store Mode of payment (Cash/Card/UPI).
8 DiscountGiven decimal(10,2) Store Discount applied on the sale.
9 FinalAmount decimal(10,2) Store Total amount after discount and tax.
10 InvoiceNumber nvarchar(50) Store Invoice number for the sale.
03
Snap Shots
Thank
You
PRESENTED BY : Vadhaniya Mohammad Hussain
H. (61)
Jangarala Zaheer Abbas A. (97)