1. Trang chủ
  2. » Luận Văn - Báo Cáo

mid term project report 2

57 0 0
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Database
Tác giả Le Thi Tra, Tran Duc Duy, Huynh Thi My Duyen, Cao Hoang Nha, Lieu Hoai Phuc
Người hướng dẫn Lam Hong Thanh
Trường học University of Economics and Law
Chuyên ngành Database
Thể loại Mid-term Project Report
Năm xuất bản 2023
Thành phố Ho Chi Minh City
Định dạng
Số trang 57
Dung lượng 5,52 MB

Nội dung

Bill of sale Create sales invoice - Contract ID identifier, Business Code foreign key to Pharmaceutical Factory, EMP ID foreign key to Manager, Product ID foreign key to Product, Cont

Trang 1

Huynh Thi My Duyen — K224141718 Cao Hoang Nha — K224141732 Lieu Hoai Phuc — K224141735

Ho Chi Minh City, December 2023

Trang 2

Evaluate the level of job completion

Trang 3

TABLE OF CONTENTS

PART L TOPIC OVERVIEW

1.1 Reasons for choosing the topic

2.2 Vision and mission

2.3 Organizational structure and business model:

PART IV: LOGIC DATA DESIGN

4.1 Entity relationship diagram

4.2 Relational Model

PART V: PHYSICAL DATA DESIGN

PART VI: CREATE DATABASE

Trang 4

6.3 Enter data into a table

TABLE OF FIGURE

Figure 1: Pharmaceutica factory BFD diagram

Figure 2: Pharmacity store manager BFD diagram

Figure 4:ER model

Figure 5:Entity relationship diagram

Figure 6:Relational Model

Trang 5

PART I TOPIC OVERVIEW

1.1 Reasons for choosing the topic

Choosing Pharmacity as the topic for an essay presents a compelling opportunity due to its multifaceted nature within the pharmaceutical and retail industry Exploring Pharmacity allows for a deep dive into various critical aspects

One of the primary attractions is studying Pharmacity's business strategy and marketing Analyzing how they establish and maintain a consistent network of pharmaceutical distribution outlets, as well as their customer engagement and approach, will be a highlight Comparing Pharmacity against industry peers will also provide an opportunity

to evaluate their competitive advantages

Moreover, delving into Pharmacity's supply chain management and logistics is equally intriguing Understanding how they import products and efficiently distribute them to hundreds of stores nationwide provides profound insights into their management and optimization of the supply chain

Additionally, researching innovation and technology within the pharmaceutical sector through Pharmacity is pivotal Examining how they leverage technology to enhance customer experiences and augment store management will be an unmissable aspect

By choosing Pharmacity as the topic, we can extensively explore vital facets within the pharmaceutical and retail industry, ranging from business strategy, supply chain management, technological innovation, to societal impact

1.2 Target

Selecting Pharmacity as the subject of study serves multifaceted objectives It offers a comprehensive understanding of the pharmaceutical retail landscape, dissecting successful business models and strategies Analyzing its impact on consumer behavior unveils market trends and preferences, while delving into its operational strategies aids in learning about efficient logistics and supply chain management Furthermore, studying Pharmacity's social initiatives sheds light on corporate responsibility and community engagement Its innovative approach to technology provides a valuable case study for advancements in similar sectors Overall, explormg Pharmacity aligns with goals of industry comprehension, successful model analysis, consumer behavior understanding, operational efficiency insights, societal impact evaluation, and innovation learning within pharmaceutical retail

Trang 6

1.3 Expected results

Choosing Pharmacity as a research topic is expected to yield significant outcomes Understanding Pharmacity's business strategy will provide invaluable insights into how they develop and sustain a successful business model in the pharmaceutical industry Analyzing Pharmacity's impact on consumer purchasing behavior will help predict market trends and understand customer preferences

Research into Pharmacity's management strategy and operations is anticipated to offer detailed information regarding supply chain management and logistics in the pharmaceutical retail sector Additionally, evaluating the social impact of Pharmacity's activities will clarify the significance of corporate social responsibility

Lastly, exploring innovation and technology applications in Pharmacity's business operations is poised to provide valuable lessons on employing technology to enhance customer experiences and optimize store management In summary, researching Pharmacity is expected to generate detailed information and significant findings across various aspects of the pharmaceutical retail industry

PART II: BUSINESS SURVEY

2.1 Introducing Pharmacity

Established in 2012, Pharmacity stands as one of the pioneering pharmaceutical retail chains in Vietnam To date, Pharmacity possesses a network of over 1,000 GPP- standardized pharmacies nationwide, supported by a reliable team of more than 3,500 pharmacists They offer top-tier medication and healthcare products at the most competitive prices

Pharmacity consistently aims to enhance the quality of healthcare for each customer Initially an idea conceived by Chris Blank, the company's founder, an American pharmacist with extensive experience in Vietnam With his passion and innovation, Chris Blank established Pharmacity, aiming to deliver the best experiences for

customers

Presently, Pharmacity has an extensive network of pharmacies spanning across districts

in Ho Chi Minh City and numerous provinces and major cities such as Hanoi, Da Nang, Can Tho, Thua Thien Hue, Ba Ria - Vung Tau, Binh Duong, Long An, Dong Nai, and Tien Giang

Trang 7

By 2025, Pharmacity plans to further expand its network to encompass 5,000 GPP- standardized pharmacies nationwide, with over 35,000 trusted pharmacists Their goal is

to become a modern retail pharmacy, offering optimized experiences for customers

2.2 Vision and mission

Pharmacity's vision and mission revolve around providing customers with high-quality healthcare products and professional advisory services, constituting their core values: Vision: Pharmacity aims to become the leading retail chain in the healthcare and personal care sector in Vietnam They aspire to offer convenience, reliability, and top- notch quality to consumers

Mission: Pharmacity's mission is not only to provide high-quality products but also dedicated healthcare advisory services They aim to enhance people's well-bemg by offering tailored information and products

To fulfill this mission and vision, Pharmacity consistently updates and expands its product range, improves service quality, and fosters a positive work environment to enable employees to serve customers to the best of their abilities 2.3 Organizational structure and business model:

2.3.1 Organizational structure:

Executive Leadership / Senior Management:

CEO: Heads the company, shapes the overall strategy, and guides development Middle Management:

Functional Directors: Includes the Finance Director, Marketing Director, Supply Chain Management Director, etc

Sales Department:

Sales and Advisory Staff: Engages directly with customers, providing product advice This hierarchy enables Pharmacity to operate efficiently and align with its development goals By focusing on high-level strategic leadership, middle management for functional areas, and customer-facing sales and advisory roles, the company can organize and operate in an organized and effective manner to meet customer and market demands

2.3.2 Business model:

Supply Chain:

Trang 8

Pharmacity sources medicines from reputable manufacturers and authorized distributors, both locally and internationally Selecting suppliers involves quality evaluation and assurance, ensuring compliance with importation and storage regulations

Supply Chain Management:

Pharmacity employs a modern supply chain management system to track inventory levels, ensure sufficient stock, and swiftly meet store demands They utilize centralized warehouses or distribution centers for effective inventory management and distribution Order Placement:

Professional inventory management aids in determining required stock levels Pharmacity employs automated ordering systems or flexible ordering processes to promptly fulfill demands, utilizing a management system to place orders with distribution centers or suppliers

Warehousing:

A stringent process of quality and quantity checks is conducted upon goods arrival Post- arrival, products are meticulously managed in warehouses through updated inventory information and periodic audits

Sales:

Pharmacity utilizes a modern POS system with a user-fnendly interface Well-trained staff provide product advice and customer support Flexible sales policies foster trust and attract customers

Online Sales:

Pharmacity may have a user-friendly website for online shopping Customers can search products, place orders, and make online payments Home delivery options are available, integrated with their delivery system for convenience Detailed product information, retum policies, security measures, and service-related details are provided

Delivery Service:

Pharmacity offers doorstep delivery via partnered carriers or their own delivery system, enhancing customer service convenience and strengthening their service aspect Quality Control and Compliance:

Pharmacity adheres to pharmaceutical safety, quality, and legal standards They maintain strict quality control systems to ensure only reliable and high-quality products are delivered Their business model emphasizes efficient supply chain management to ensure stable, high-quality supplies for their customers

2.4 Professional functions and required functions of the system

7

Trang 9

2.4.1 Professional functions:

The Pharmaceutical Factory manufactures pharmaceutical products

Prior to production, products are standardized in a contract between the Pharmaceutical Factory and Pharmacity

High-level management of Pharmacity signs contracts with the Pharmaceutical Factory After production, the products are transported

Before being stocked, the products undergo a Product Quality process

If the product meets quality standards, it's approved; otherwise, it's reported to the Pharmaceutical Factory

Employees at Pharmacity consist of two basic levels: management (including CEO, CFO, COO) and others

Managers are responsible for their operational and subordinate management roles Each manager must have at least 4 years of experience in their field

Employees possess different skill sets and expertise based on their roles

Business-focused employees have diverse specializations

Employees are assigned to pharmacies based on their expertise

Technical staff ensures Pharmacity's digital infrastructure

These platforms generate profits through online transactions

Sold products are stocked within the company

Stocks in Pharmacies are maintained at their respective locations

Customers have various purchasing channels within Pharmacity

2.4.2 Required functions of the system:

4.2.1 From the customer's perspective:

Access Product Information: Customers can view product details including ingredients, benefits, target users, manufacturing year and location, usage instructions, recommendations, and storage guidelines

Trang 10

View Product Prices and Promotions: A wide range of products with varying price points is available Periodically, there are offers such as product discounts, buy one get one free, or product purchase with voucher rewards

Access "Healthy Living" News: Customers can read numerous health-related articles to enhance their knowledge and self-care abilities This helps customers better monitor, manage, and improve their health and that of their families on a daily basis

Online Payments: Customers have the flexibility to choose their preferred payment method for convenience

Receive Product Recommendations: Each customer may experience different symptoms and requires tailored product advice to address their specific issues

4.2.2 From the manager of store:

Customer Information Management: Enables understanding each customer's symptoms and medication needs, aiding managers in providing accurate medication advice Medication Information Management: Tracks details like production dates, expiration dates, stock levels, prices, medication types, codes, and recommended usage

Employee Management: Organizes and reviews employee schedules and performance Prescription Management: Tracks the number of prescriptions processed daily Revenue Management: Tracks store revenue on a daily, monthly, and yearly basis Website Management: Integrates systems to synchronize product information, orders, and revenue from various stores Allows control over inventory information in different locations Enables customer reviews and feedback to enhance service quality

Product Quality: Allows managers to evaluate pharmaceutical factory quality, production efficiency, and compliance with safety protocols to ensure adherence to required standards

4.2.3 From the Pharmaceutical Factory:

Contracts: Pharmacity signs contracts with pharmaceutical factories to ensure a stable and high-quality drug supply Clear terms regarding pricing, supply quantities, and product quality are established The pharmaceutical factory may offer technical support and periodic advice on technical or product quality issues to Pharmacity

Shipments: Pharmacity contracts shipping companies to ensure smooth delivery services from the pharmaceutical factory to their stores Managing orders, delivery schedules, tracking shipments, and evaluating the service quality of transport partners are crucial functions to ensure seamless delivery services

2.5 BFD diagram

Trang 11

Contact the suppber

[Revenne at the end of the

Cg

Mee Ete tg

Bề CS td Updzte nrodnct

[oes ese tea

Offers and điscounts

Figure 2: Pharmacity store manager BFD diagram

2.6 DED diagram

10

7 Product in Stock Functonal foods Products for mothers

ca

Be OE ease og

Trang 12

Bill of sale

Create sales invoice

- Contract ID (identifier), Business Code (foreign key to Pharmaceutical Factory),

EMP ID (foreign key to Manager), Product ID (foreign key to Product), Contract Term,

Time

11

Trang 13

Online Pharma platform:

- IP address (identifier), Employee ID (foreign key to Employee) , Order ID (foreign key

to Technical Staff), Feature, Description

12

Trang 14

° Pharmaceutical Factory - Contract (1-N):

- A pharmaceutical factory can sign one or more contracts

- A contract can only be signed by one pharmaceutical factory

° Manager - Contract (1-N):

- A contract can only be signed by one manager

- A manager can sign multiple contracts

° Pharmaceutical Factory - Product (1-N) :

- A pharmaceutical factory can produce multiple products

- A product can only be produced by one pharmaceutical factory

° Product - Shipment (1-N) :

- A product can only be packaged in one shipment

- One shipment can transport multiple products

° Shipment - Product Quality (1-N) :

- A shipment must undergo at least one product quality inspection

- One product quality inspection can inspect multiple shipments delivered

° Pharmacity - Employee (1-N) :

- A pharmacy has multiple employees

- An employee can only work at one pharmacy

- A manager can manage multiple staff

- A staff can only be managed by one manager

° Staff - Technical Staff (M-N) :

- Staff with technical skills become technical staff

13

Trang 15

Staff without technical skills become business staff

Online Pharma Platform - Technical Staff (1-N) :

A technical staff can manage and advise through a specific online pharma platform that they operate

An online pharma platform can have multiple technical staff operating tt Business Staff - Specialized (1-N) :

A business staff can own multiple specialized

A specialized belongs to one staff

Pharmacy - Specialized (1-N):

A staff with specialized can advise multiple customers directly at a pharmacy

A pharmacy can have multiple staff with specialized working there

Pharmacity - Product In Stock (1-N) :

A pharmacy has multiple products in stock

Multiple products in stock are managed by the pharmacy

Customer - Order (1-N):

A customer can place multiple online orders for products

Each online order can only be placed by one customer

Customer - Pharmacy (1-N):

A customer can purchase from multiple pharmacies

Each pharmacy can only serve customers who are present there

Product In Stock - Order (1-N):

A product in stock can be provided for multiple orders

An order can only be provided by a specific product in stock as specified by the company

Product In Stock - Pharmacy (1-N):

A product in stock can be provided for multiple orders at a pharmacy

An order at a pharmacy can only be provided by a product in stock at the pomt of Order - Online Pharma Platform (1-N) :

An order can be placed from multiple platforms

A platform can only process one order per use

Product In Stock - Product Quality (1-N) :

A product that has passed inspection is then entered into stock

A stock will have multiple products that have been inspected

3.3 ER diagram ( entity-relationship )

14

Trang 16

PART IV: LOGIC DATA DESIGN

4.1 Entity relationship diagram

Figure 5:Entity relationship diagram

15

Trang 17

https://app.diagrams.net/#G 1d720fx-Cz atDmdLxbv-U3xEOc5LO_xjl

4.2 Relational Model

Figure 6:Relational Model https://drive.google.com/file/d/1-3EaHyh3Wa4FT11P-cKZvFcJI6S4ICK5/view? usp=sharing

PART V: PHYSICAL DATA DESIGN

Shipments

shipment_id Primary Char(10) Unique identifier for | Not

16

Trang 18

related to the delivery | null

destination address | null where the shipment is intended to be delivered

Pharmaceutical_factory

Business Code Primary | VARCHAR(50) Unique code | Not null

pharmaceutical business

pharmaceutical factory

Address VARCHAR(100) | Physical address | Not null

pharmaceutical business

pharmaceutical business

contact_ Email VARCHAR(S59) Email address | Not null

for contacting the

17

Trang 19

Technical Staff

EMP _ ID Primary Key | Char(10) Unique identifier for | Not

Foreign key each technical staff | null

member

technical skill varchar(50) | skill of technical staff, Can

null multivalue

Pharmacity

Pharmacity business

the Pharmacity null

Trang 20

EMP _ ID Primary VARCHAR(200) | Unique identifier for | Not

Foreign

Key

>=4) manager's experience | null

level, indicating they have at least 4 years of experience

Customer

customer_id Primary Char(10) Unique identifier for | Not

the customer null

Trang 21

customer note:

Product_id Primary Char(10) Unique identifier | Not

Business Code Foreign VARCHAR(S0 Code identifying | Not

business associated with the product

shipment_id Foreign Char(10) Identifier for the | Not

with the product

product

product available in | null stock

20

Trang 22

Employee

EMP _ ID Primary Char(10) Unique identifier | Not

Business_code Foreign Char(10) Code identifying | Not

business associated with the employee

qualifications null received by the employee

of experience of | null the employee

the employee null

for the employee null

EMP_Name VARCHAR(50) | Name of the | Not

Trang 23

EMP _ ID Primary Char(10) Unique identifier for each staff | Not

Foreign

Key

Manager id | Foreign Char(10) Identifier referencing the | Can

Key manager for the staff member null

Contract

Contract ID Primary Char(10) Unique identifier for | Not

Product ID Foreign Char(10) Identifier referencing | Not

with the contract

Bussiness_Code Foreign VARCHAR(S50) | Code identifying the | Can

business —_ associated with the contract

EMP ID Foreign Char(10) Identifier referencing | Not

associated with the

contract

information for the | null

contract

Contract_Term VARCHAR(S50) | Term or duration of | Can

the contract null

22

Trang 24

Pr _In_ k

Num_of_stock: Primary | Char(10) Unique identifier | Not

the stock

Bussiness Code Foreign Char(10) Code identifying | Not

business associated with the stock entry

product in stock null

product's — stock, indicating its availability or condition

Orderr

order 1d Primary Char(10) Unique identifier | Not

23

Trang 25

stock associated with the order

customer who placed the order

product in the | null order

Order_ status VARCHAR(50) | Status of the | Not

order (e.g., | null pending,

shipped, delivered)

Pharmacy

Number of Pharmacy | Primary | Char(10) Unique Not

each pharmacy

customer

associated with the pharmacy

Trang 26

for the | null pharmacy

building where | null the pharmacy is located

address of the | null pharmacy

Product_Quality

Quality Result | Primary VARCHAR(S0 Unique identifier for | Not

entry

shipment ID Foreign Char(10) Identifier referencing | Not

associated with the quality result

Num_of stock Foreign Char(10) Identifier referencing | Can

with the quality result

Trang 27

Specialized

Number_of Pharmacy Foreign

Key Char(10) Identifier

referencing the pharmacy associated with the specialization

Not null

role consultant

Not null

level of the pharmacist

18 office- based (Yes/No) Not null

Trang 28

IP_address | Primary Varchar(50) Unique identifier for cach Not

EMP _ ID Foreign Char(10) Identifier referencing the | Not

associated with the platform

Order_ID Foreign Char(10) Identifier referencing the | Can

online pharma platform

Feature VARCHAR(S50) | Feature or functionality of | Can

the online pharma | null platform

description VARCHAR(50 | Description or additional | Can

Ngày đăng: 22/08/2024, 21:41