0% found this document useful (0 votes)
12 views30 pages

UML Work-3

The Food Sale System (FSS) is a software solution designed to automate and optimize food store operations, including inventory management, order processing, and customer engagement. It addresses issues like manual errors and customer dissatisfaction by providing features such as real-time inventory updates, automated billing, and a communication platform for feedback. The system is applicable in various food-related businesses, including supermarkets, restaurants, and e-commerce platforms.

Uploaded by

teponbieh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views30 pages

UML Work-3

The Food Sale System (FSS) is a software solution designed to automate and optimize food store operations, including inventory management, order processing, and customer engagement. It addresses issues like manual errors and customer dissatisfaction by providing features such as real-time inventory updates, automated billing, and a communication platform for feedback. The system is applicable in various food-related businesses, including supermarkets, restaurants, and e-commerce platforms.

Uploaded by

teponbieh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

FOOD SALE SYSTEM

REPUBLIQUE DU CAMEROUN REPUBLIC OF CAMEROON

Paix-Travail-Patrie Peace-Work-Fatherland

INSTITUT AFRICAINE D’INFORMATIQUE AFRICAN INSTITUTE OF COMPUTER SCIENCE

Centre d’Excellence Technologique Centre of Technological Excellence

PAUL BIYA PAUL BIYA

BP 13 Yaounde(Cameroun) PB 13 Yaounde(Cameroun)

Tel.(237)22 72 99 58/22 72 99 58 Tel.(237)22 72 99 58/22 72 99 58

Site web www.iaicameroun.com Website www.iaicameroun.com

E-mail : [email protected] E-mail : [email protected]

UML
THEME :

FOOD SALE SYSTEM

Class : BA2A

Group : 13

Members

SIAPI JEAN

ONGOU BOLO PIERRE

RICCI NGBWA ERIN NINA

NAELLA ORIANE

SAMBE NGOK MORGAN L.


SUPERVISOR :

Mr.MESSIO

ACADEMIC YEAR

2024/2025

Realised by Group 13 BA2A 1


FOOD SALE SYSTEM

SUMMARY

SUMMARY ......................................................................................................................................................2

INTRODUCTION ............................................................................................................................................. 3

I. OVERVIEW .................................................................................................................................................. 4

II. USE CASE DIAGRAM ...................................................................................................................................4

III. ACTIVITY DIAGRAM ...................................................................................................................................7

IV. SEQUENCE DIAGRAM ............................................................................................................................. 12

V. CLASS DIAGRAM ...................................................................................................................................... 16

VI. PACKAGE DIAGRAM ............................................................................................................................... 20

VII. COMMINICATION DIAGRAM ................................................................................................................. 22

VIII. STATE-MACHINE DIAGRAM ..................................................................................................................24

IX .PROBLEMS IN CURRENT SYSTEM ........................................................................................................... 25

X. SOLUTIONS PROVIDED BY FOOD SALE SYSTEM ...................................................................................... 25

XI. AREAS WHERE THE SYSTEM WILL BE HIGHLY DEMANDED .................................................................... 26

Conclusion ................................................................................................................................................... 28

TABLE OF CONTENTS ................................................................................................................................... 29

Realised by Group 13 BA2A 2


FOOD SALE SYSTEM

INTRODUCTION

The Food Sale System (FSS) is a robust software solution designed to simplify and
automate food store operations. This system efficiently handles inventory management, orders,
deliveries, customer engagement, and feedback collection. Key features include reward
tracking, trash management for expired products, and a communication platform for customer
feedback (Tchat).

Realised by Group 13 BA2A 3


FOOD SALE SYSTEM

I. OVERVIEW

The Food Sale System is a software solution designed to optimize food store operations.
It includes features like inventory tracking, order processing, billing, and generating reports.
The system aims to reduce manual errors, streamline processes, and improve customer service.

II. USE CASE DIAGRAM

The Use Case Diagram represents the interactions between the actors (users) and the
system. It highlights the functionalities the system provides and who accesses them.

II.1. Actors:

1. Customer: Places orders, track rewards, and provides feedback.


2. Store Manager: Oversees inventory and staff.
3. Cashier: Handles billing and payments.
4. Supplier: Provides inventory to the store.
5. Admin: Manages system settings, user accounts, data security, manages reward and
manages feedback.
6. Visitor: Browses products or information without making purchases and register as a
customer.
7. Delivery Man: delivers orders to customers and updates delivery statuses.

II.2. Use Cases:

Browse Products: Customers and visitors can view available products.


Place Order, Manage baskets, and track deliveries: Customers .
Generate Bills: Cashiers generate invoices.
Update Inventory: The system automatically updates inventory levels after sales or restocks.

Realised by Group 13 BA2A 4


FOOD SALE SYSTEM

Track Inventory, Generate reports, and Manage deliveries: Managers track stock levels and
reorder items.
Supplier Interaction: Managers communicate with suppliers to replenish inventory.
Generate Reports: Managers generate sales and inventory reports.
Manage Users: Admin adds or removes users like cashiers, managers, or visitors.
System Configuration: Admin updates system settings or permissions.
Update delivery status and Manage delivery details: Delivery Man.
Send Feedback: customer share feedback via Tchat, which is reviewed by the Admin.
Calculate Rewards: System tracks customer purchases and compute loyalty points.
Manage Trash: Admin identifies expired products and moves them to the trash.

Realised by Group 13 BA2A 5


FOOD SALE SYSTEM

Figure 1: Use case Diagram.

Realised by Group 13 BA2A 6


FOOD SALE SYSTEM

III. ACTIVITY DIAGRAM

The Activity Diagram illustrates workflows for major processes in FSS. It shows the
sequence of actions and decision points.

III.2. SCENARIOS

1. Order placement .
2. Make Payment.
3. Creating an account.
4. Restocking products by store manager.
5. Managing expired products.
6. Collecting customer feedback(Tchat).
7. Reward Management.
8. Delivery Management.
9. Supply Products

Realised by Group 13 BA2A 7


FOOD SALE SYSTEM

III.2.1. Order Placement

Figure 2: Activity Diagram for Placing Order.

Realised by Group 13 BA2A 8


FOOD SALE SYSTEM

III.2.2. Creating Account

Figure 3: Activity Diagram for Creating Account.

Realised by Group 13 BA2A 9


FOOD SALE SYSTEM

III.2.3. Make Payment

Figure 4: Activity Diagram for making payment

Realised by Group 13 BA2A 10


FOOD SALE SYSTEM

III.2.4. Supply Order

Figure 5: Activity Diagram for supplying Products

Realised by Group 13 BA2A 11


FOOD SALE SYSTEM

IV. SEQUENCE DIAGRAM

The Sequence Diagram details the interactions between system components and users
for specific processes.

IV.1. SCENARIOS

1. Order Placement.
2. Make Payment.
3. Generates bills.
4. Supply Products.
5. Inventory Replenishment.
6. Managing Expired Products.
7. Reward Calculation and Redemption.
8. Customer Feedback (Tchat).
9. Delivery Assignment.

Realised by Group 13 BA2A 12


FOOD SALE SYSTEM

IV.1.1. Make Payment

Figure 6: Sequence Diagram for Making Payment

Realised by Group 13 BA2A 13


FOOD SALE SYSTEM

IV.1.2.Generates Bills

Figure 7: Sequence Diagram for Generating Bills

IV.1.3. Place Order

Realised by Group 13 BA2A 14


FOOD SALE SYSTEM

Figure 8: Sequence Diagram for Placing Order

IV.1.4. Supply Products

Figure 9: Sequence Diagram for Supplying Products

Realised by Group 13 BA2A 15


FOOD SALE SYSTEM

V. CLASS DIAGRAM

V.1. Classes:

1. Visitor:
Attributes: visitorID,browseingHistory .
Methods: browseProducts(), registerAccount(), makeResearch().

2. Customer:
Attributes: customerID, name, email, phone, locationID.
Methods: browseProducts(), placeOrder(), viewOrderHistory(), updateProfile(), makePayment(),
addProductBasket(), makeComment(), trackOrder().

3. Product:
Attributes: productID, name, price, quantity, description, expiredDate.
Methods: updateStock(), getDetails(), checkAvailability().

4. Order:
Attributes: orderID, orderDate, customerID, totalAmount, basketID, status.
Methods: calculateTotal(), generateInvoice(), updateStatus(), getOrderDetails().

5. Inventory:
Attributes: inventoryID, productID, stockLevel, reorderLevel.
Methods: checkStock(), updateStock(), addProductToInventory(), getLowStockProducts().

6. Supplier:
Attributes: supplierID, name, contactDetails.

Realised by Group 13 BA2A 16


FOOD SALE SYSTEM

Methods: supplyOrder(), getSupplierDetails(), respondTorequest, contactStoreMan.

7. Store Manager:
Attributes: managerID, name.
Methods: manageInventory(), generateReport(), assignDeliveryMan(), contactSupplier().

8. Payment:
Attributes: paymentID, orderID, amount, paymentMethod.
Methods: processPayment().

9. Admin:
Attributes: adminID, username, password, email.
Methods: managesUsers(), configureSystem(), auditLogs(),trackCars(), makePayment() .
10. Location:
Attributes: locationID, latitude, longitude, address.
Methods: getCoordinates(), setAddress().

11. Notification:
Attribute: notificationID, type, message.
Method: sendNotification(), markAsread().

12. Promotion:
Attributes: promotionID, description, discountPercentage.
Methods: applyPromotion(), validatePromotion().

13. Cars:
Attributes:carID, model, plateNumber.

Realised by Group 13 BA2A 17


FOOD SALE SYSTEM

Methods: assignToDeliveryMan(), getCarDetails().

14. Delivery Man:


Attributes: deliveryManID, name, contact.
Methods: acceptDelivery(), updateDeliveryLocation(), markDeliveryComplete().

15. Delivery Details:


Attributes: deliveryDetailsID, orderID, deliveryAddress, deliveryTime, deliveryStatus.
Methods: acceptDelivery(), updateDeliveryStatus().

16. Category:
Attributes: categoryID, productID, name, description.
Methods: addCategory(), removeCategory(), getCategoryDetails().

17. Baskets:
Attributes: basketID, customerID, items, totalPrice.
Methods: addProduct(), removeProduct(), calculateTotal(), checkout().

18. Trash:
Attributes: trashID, productList, disposalDate.
Methods: addExpiredProduct(), generateWasteReport().

19. Reward:
Attributes: rewardID, points, custumerID.
Methods: trackPurchases(), calculateMonthlyReports(), redeemReward.

20. Tchat:

Realised by Group 13 BA2A 18


FOOD SALE SYSTEM

Attributes: tchatID, message, timestamp.


Methods: sendMessage(), receiveMessage(), analyzeFeedback().s
21. Cashier:
Attributes:cashID, name, password, email, phoneNum, shift.
Methods:login(), logout(), updateprofile(), generateBill(), generatesSaleReport(),

Figure 10: Class Diagram

Realised by Group 13 BA2A 19


FOOD SALE SYSTEM

VI.PACKAGE DIAGRAM

The Package Diagram groups classes into logical components to depict the structure of
the software system. It illustrates dependencies among these packages, ensuring modularity,
reusabilty, and scalability.
The FSS can be divided into the following packages:

1. User Interface Package:


 Description:
Handles all user interactions for customers, cashiers, Store Managers, Delivery Men,
Supplier, and Admin.
 Classes:
a. Customer
b. Cashier
c. Store Manager
d. Admin
e. Supplier
f. Delivery Man

2. Business Login Package:


Description:
Implement core business rules and processes such as order handling, inventory
management, and reward calculations.
Classes:
a. Order
b. OrderDetails
c. Product
d. Category
e. Basket

Realised by Group 13 BA2A 20


FOOD SALE SYSTEM

f. Reward
g. Promotion
h. Trash
i. Inventory

3. Delivery Management Package


 Description:
Manages the logistics of assigning delivery personnel and tracking deliveries.
Classes:
a. Cars
b. Location

4. Utility Package
Description:
Provides auxiliary features to support other packages.
Classes:
a. Notification
b. Tchat

5. Payment Package
 Description:
Handles financial transactions in the system. This package isolates payment
functionalities, ensuring modularity and maintainability.
Classes:
a. Payment

Realised by Group 13 BA2A 21


FOOD SALE SYSTEM

Figure 11: Packet Diagram

VII. COMMINICATION DIAGRAM

It models the interactions between classes and their relationships, focusing on the flow
of messages within a specific use case. For this system, we are going to work on the
communication diagram for the “Place Order and Payment Process” use case. This includes
classes such as Customer, Order, Product, Payment, and related entities.

Realised by Group 13 BA2A 22


FOOD SALE SYSTEM

VII.1. Authentication

Figure 12: Communication Diagram for Authentication.

VII.2. Make Payment

Figure 13: Communication Diagram for Making Payment

Realised by Group 13 BA2A 23


FOOD SALE SYSTEM

VII.3. Place Order

Figure 14: Communication Diagram for Placing Order.

VIII. STATE-MACHINE DIAGRAM

It represents the states and transitions of an object throughout its lifecycle in response
to events.

VIII.1. State-Machine Diagram of Account

Figure 15: State-Machine Diagram account

Realised by Group 13 BA2A 24


FOOD SALE SYSTEM

IX .PROBLEMS IN CURRENT SYSTEM

1. Manual Errors :
Inventory mismatches due to human error. Billing inaccuracies during rush
hours.Inefficient tracking of stock and expired products.
2. Time-Consuming Processes:
Manual inventory tracking and reordering. Generating sales or inventory reports takes
time.
3. Customer Dissatisfaction:
Long waiting times during checkout. Lack of real-time product availability updates.
4. Communication Gaps:
Poor coordination with suppliers leading to overstocking or understocking.
5. Inefficient Resource Management:
Difficulty in tracking employee performance or assigning tasks efficiently.
6.Customer Retention Issues:
Lack of loyalty programs reduces customer engagement.
5. Spoiled Product Management:
Difficulty in identifying and removing expired items.
6. Inefficient Delivery Management:
Poor allocation tracking of deliveries and vehicules.

X. SOLUTIONS PROVIDED BY FOOD SALE SYSTEM

1. Automation:
Real-time inventory updates after sales. Automated billing ensures accurate and quick
checkout. Track stock and product expiration dates.
2. Efficiency:

Realised by Group 13 BA2A 25


FOOD SALE SYSTEM

Faster order processing and reduced waiting times. Streamlined communication with
suppliers for timely restocking.
3. Improved Decision-Making:
Sales and inventory reports help managers forecast demand. Alerts for low stock levels
to prevent shortages.
4. Enhanced Customer Experience:
Quick checkout process with minimal errors.Easy-to-navigate product browsing and
order placement.
5. Scalability:
Can handle large inventories and multiple store locations.
6. Trash Management:
Handles expired products systematically.
7. Reward System:
Rewards loyal customers based on purchase history.
8. Customer Feedback (Tchat):
Allows real-time communication between customers and the system.
9. Optimized delivery Tracking :
Assigns delivery men and vehicles to track order fulfillment.

XI. AREAS WHERE THE SYSTEM WILL BE HIGHLY DEMANDED

1. Supermarkets and Grocery Stores:


Large-scale inventory requires real-time tracking. High customer footfall demands quick
billing solutions.
2. Restaurants and Cafes:
Ingredient inventory management is critical to avoid waste.Tracking perishable items
ensures better food quality.

Realised by Group 13 BA2A 26


FOOD SALE SYSTEM

3. Wholesale Food Distributors:


Bulk orders require precise inventory and order management.
4. E-commerce Food Platforms:
Online stores need seamless integration for product availability and delivery tracking.
5. Convenience Stores:
Smaller operations benefit from automated stock updates and simplified billing.

Realised by Group 13 BA2A 27


FOOD SALE SYSTEM

Conclusion

The Food Store Management System addresses critical challenges like inventory
mismatches, slow processes, and poor customer experiences through automation and
efficiency. Its applicability spans supermarkets, restaurants, and online food platforms, making
it a versatile solution for food-related businesses. By integrating core functionalities like
inventory tracking, order processing, and supplier coordination, FSMS ensures streamlined
operations, cost savings, and enhanced customer satisfaction.

Realised by Group 13 BA2A 28


FOOD SALE SYSTEM

TABLE OF CONTENTS

SUMMARY ......................................................................................................................................................2

INTRODUCTION ............................................................................................................................................. 3

I. OVERVIEW .................................................................................................................................................. 4

II. USE CASE DIAGRAM ...................................................................................................................................4

II.1. Actors: ............................................................................................................................................4

II.2. Use Cases: .......................................................................................................................................4

III. ACTIVITY DIAGRAM ...................................................................................................................................7

III.2. SCENARIOS .....................................................................................................................................7

Figure 2: Activity Diagram for Placing Order. ........................................................................................8

Figure 3: Activity Diagram for Creating Account. .................................................................................. 9

Figure 4: Activity Diagram for making payment ..................................................................................10

III.2.4. Supply Order .............................................................................................................................11

Figure 5: Activity Diagram for supplying Products .............................................................................. 11

IV. SEQUENCE DIAGRAM ............................................................................................................................. 12

IV.1. SCENARIOS .................................................................................................................................. 12

Figure 6: Sequence Diagram for Making Payment ..............................................................................13

Figure 7: Sequence Diagram for Generating Bills ................................................................................14

IV.1.4. Supply Products ........................................................................................................................15

Figure 9: Sequence Diagram for Supplying Products .......................................................................... 15

V. CLASS DIAGRAM ...................................................................................................................................... 16

V.1. Classes: ......................................................................................................................................... 16

Figure 10: Class Diagram ..................................................................................................................... 19

VI. PACKAGE DIAGRAM ............................................................................................................................... 20

Figure 11: Packet Diagram ...................................................................................................................22

VII. COMMINICATION DIAGRAM ................................................................................................................. 22

Realised by Group 13 BA2A 29


FOOD SALE SYSTEM

VII.1. Authentication ............................................................................................................................23

Figure 12: Communication Diagram for Authentication. ....................................................................23

VII.2. Make Payment ........................................................................................................................... 23

VII.3. Place Order .................................................................................................................................24

Figure 14: Communication Diagram for Placing Order ....................................................................... 24

VIII. STATE-MACHINE DIAGRAM ..................................................................................................................24

VIII.1. State-Machine Diagram of Account .......................................................................................... 24

IX .PROBLEMS IN CURRENT SYSTEM ........................................................................................................... 25

X. SOLUTIONS PROVIDED BY FOOD SALE SYSTEM ...................................................................................... 25

XI. AREAS WHERE THE SYSTEM WILL BE HIGHLY DEMANDED .................................................................... 26

Conclusion ................................................................................................................................................... 28

TABLE OF CONTENTS ................................................................................................................................... 29

Realised by Group 13 BA2A 30

You might also like