Food Delivery Management System Class Diagram

Food Delivery Management System Class Diagram

Let us see the Food Delivery Management System Class Diagram. We will show the attributes and functions of all the classes that are possible in this project.

Food Delivery Management System Class Diagram

List of classes

  1. User
  2. Food
  3. Payment
  4. Driver

Class (User)

Attributes/Variables of the class (User)

Private Attributes/Variables:

There are following private attributes in the mentioned class diagram.

-user_id: int
-user-name: string
-user-address: string
-user-email: string
-user-contact: double

 

Public Attirbutes/Variables:

There are following public attributes in the mentioned class diagram.

Nil

Functions of the class (User)

There are following functions in the mentioned class diagram.

+register ()
+login ()
+booking ()
+payment ()
+feedback ()

Class (Food)

Attributes/Variables of the class (Food)

Private Attributes/Variables:

There are following private attributes in the mentioned class diagram.

 -food_type: string
-food_name: string
-food_id : sting
-food_price : int

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

Nil

Functions of the class (Food)

There are following functions in the mentioned class diagram.

+food_type ()
+food_name ()
+food_id ()
+food_price ()

Class (Payment)

Attributes/Variables of the class (Payment)

Private Attributes/Variables:

There are following private attributes in the mentioned class diagram.

-payment_id: int
-amount: int
-payment_details: string
-payment_type: string

 

Public Attirbutes/Variables:

There are following public attributes in the mentioned class diagram.

Nil

Functions of the class (Payment)

There are following functions in the mentioned class diagram.

+payment_id ()
+payment_info ()

Class (Driver)

Attributes/Variables of the class (Driver)

Private Attributes/Variables:

There are following private attributes in the mentioned class diagram.

-driver_id: int
-driver-name: string
-driver-address: string
-driver-email: string
-driver-contact: double

Public Attirbutes/Variables:

There are following public attributes in the mentioned class diagram.

Nil

Functions of the class (Driver)

There are following functions in the mentioned class diagram.

+driver_details ()
+booking_details ()
+ride_details ()
+payment_details ()

Important Links for class diagram

  1. Tutorial: Class Diagram 
  2. Exercise: Class Diagram of Projects
  3. MCQs: Class Diagram