Professional Documents
Culture Documents
Problem Identification: MIT - World Peace University, Pune - 2019
Problem Identification: 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
2
Medicine Delivery System
MIT - World Peace University, pune | 2019
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
Employee:
Field name Data Type (size) Constraints
Medicine:
Field name Data type (size) constraints
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
7
Medicine Delivery System
MIT - World Peace University, pune | 2019
6. Normalization
2NF :
Customer:
Field name Data type (size) Constraints
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
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:
O_datetime:
Field_name Data type Constraint
O_id int Foreign key
Delivery_Date_time Datetime
9
Medicine Delivery System