Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

MIT - World Peace University, pune | 2019

1. PROBLEM IDENTIFICATION

Over a short period of time, e-commerce has gained much popularity in India,
especially among the youth. Consumers are spoilt for choice as they have a wide
range of various products to choose from. From apparels to Real Estate everything
can be purchased online, and medicines are no different. Medicine delivery system
is the buying and selling of the medical products through the internet. Customer can
order their prescription online and make the payment online and the medicine will be
delivered at the doorsteps avoiding the physical rush of the customer.
The modules of the system are :
1. Customer
2. company/Employee
3. Cart
4. Delivery

1
Medicine Delivery System
MIT - World Peace University, pune | 2019

2. Problem Elaboration

The project is aimed at developing an online medicine delivery system which


deals with the ordering medicine online and its delivery. Customer have to login with
the given user name and password. After login they have to search for the required
medicine and add it to cart. Then proceed to the payment with option of online and
offline payment. User can also get the medicine by providing the prescription.
Online medicine assures quality and also affordable price of the product.
online medicine delivery also provides information about content of the product, its
possible substitute and its side effect. It provides information about the pharmacy
company and its products. Customer can order product with the privacy. Online
order of medicine gives wide range of variety and availability.
The system have come up with so many offline loopholes. It is so simple to be
used by layman’s view. Making availability of required product within required time
becomes the important part when the particular medicine is not easily available, this
can be easily made possible with online delivery system.

2
Medicine Delivery System
MIT - World Peace University, pune | 2019

3. ENTITIES AND ATTRIBUTES

IDENTIFICATION OF ENTITIES:
1. Customer
2. Employees
3. Orders
4. Payment
5. Medicine
6. cart

IDENTIFICATION OF ATTRIBUTES:

1.Customer:
 c_name
 c_id
 U_name
 c_address
 c_phone
 c_password

2.Employee:
 emp_name
 emp_id
 emp_address
 emp_contact
 emp_password
 emp_workarea
 v_number

3
Medicine Delivery System
MIT - World Peace University, pune | 2019

3.Medicine:
 m_id
 m_name
 m_type
 m_price
 m_uses
 m_expiry
 m_sideeffects
 m_content
 m_company

4.Cart:
 cart_id
 m_id
 total_price

5.Orders:
 order_id
 Total_price
 c_id
 m_id
 delivery_address
 delivery_day_time

6.Payment:
 payment_id
 payment_method
 total_price

4
Medicine Delivery System
MIT - World Peace University, pune | 2019

4. E-R Diagram
C_address
User_name
C_phone
Payment_id
C_id
C_password

C_name Payment
customer Does

Payment_method
Total_price

Delivers
to Check
out
Emp_pas
sword M_id
M_content M_sideeffect Cart_id
Emp_id
M_company M_expiry
y Add
Employees cart
Medicine to
Emp_name
M_id
Total_price
Emp_contact
V_no M_name

M_uses
M_type
places
Received
by M_price

Order Order_id

Delivery_date_time
M_id

Delivery_addre
ss C_id
Total_price
5
Medicine Delivery System
MIT - World Peace University, pune | 2019

5. Database

Customer:
Field name Data type (size) Constraints

C_Name Varchar(30) Not null


Customer_id Int Primary key
User_name Varchar(30) Unique
C_address Varchar(50) Not null
C_phone Bigint Not null
C_password Varchar(20) Not null
C_DOB Date
C_age Int

Employee:
Field name Data Type (size) Constraints

Emp_name Varchar(30) Not null


Emp_id Int(20) Primary key
Emp_address Varchar(50) Not null
Emp_contact Bigint Not null
Emp_password Varchar(50) Not null
Emp_workarea Varchar(40) Not null
Vehicle_number Varchar(20) Not null

Medicine:
Field name Data type (size) constraints

M_id Int Primary key


M_name Varchar(20) Not null
M_type Varchar(20) Not null
M_price Float(10) Not null
M_uses Varchar(20) Not null
M_expiry Date
M_sideeffects Varchar(20) Not null
M_content Varchar(20) Not null
M_company Varchar(20) Not null

6
Medicine Delivery System
MIT - World Peace University, pune | 2019

Cart:
Field name Data type (size) Constraints
Cart_id Int Not null
M_id Int Foreign key
Total_price Float(10) Not null

Orders:
Field name Data type (size) Constraints

Order_id Bigint Primary key


Total_price Double Not null
C_id Int Foreign key
m_id Int Foreign key
Delivery_address Varchar(50) Not null
Delivery_date_time Datetime
Order_date Date

7
Medicine Delivery System
MIT - World Peace University, pune | 2019

6. Normalization
2NF :
Customer:
Field name Data type (size) Constraints

C_Name Varchar(30) Not null


C_id int Primary key
User_name Varchar(30) Unique
C_address Varchar(50) Not null
C_phone bigint Not null
C_password Varchar(20) Not null
C_DOB Date
C_age int

C_address:
Field name Data type(size) Constraints
C_id Int Foreign key
C_zipcode Bigint Not null
C_state Varchar(20) Not null
C_city Varchar(20) Not null
C_town Varchar(20) Not null
C_street Varchar(30) Not null

Order:
Field name Data type (size) Constraints

Order_id Bigint Primary key


Total_price Double Not null
C_id Int Foreign key
m_id Int Foreign key
Delivery_address Varchar(50) Not null
Delivery_date_time Datetime
Order_date Date
Order_address:
Field name Data type (size) Constraints

zipcode Int Not null


state Varchar(20) Not null
city Varchar(20) Not null
town Varchar(20) Not null
lane Varchar(20)

8
Medicine Delivery System
MIT - World Peace University, pune | 2019

3NF:
C_age:
Field_name Data type Constraint
C_id Int Foreign key
Age Int Not null

C_zip:

Field_name Data type Constraint


C_id int Foreign key
C_zipcode Int

O_datetime:
Field_name Data type Constraint
O_id int Foreign key
Delivery_Date_time Datetime

9
Medicine Delivery System

You might also like