Welcome to the Product Deals Manager console application! This program allows you to manage products, customers, and deals efficiently.
- Attributes:
name
(string): The name of the product.price
(float): The price of the product.count
(int): The available quantity of the product.
- Attributes:
fullname
(string): The full name of the customer.ssid
(int): The Social Security ID of the customer.address
(string): The address of the customer.products
(List): The list of products associated with the customer.
- Attributes:
customerSsid
(int): The Social Security ID of the customer involved in the deal.product
(Product): The product associated with the deal.
-
Add New Product:
- Option 1 allows you to add a new product to the system.
-
Add New Customer:
- Option 2 enables you to add a new customer, including their personal information.
-
Add New Deal:
- Option 3 lets you create a new deal, connecting a customer and a product.
-
Show All Products List:
- Option 4 displays a list of all products in the system.
-
Show All Customers:
- Option 5 shows a list of all customers along with their details.
-
List of All Deals:
- Option 6 provides a list of all deals made.
-
Show a Customer All Deals:
- Option 7 allows you to view all deals associated with a specific customer.
-
Exit:
- Option -1 exits the program.
- Run the application.
- Choose an option from the menu by entering the corresponding number.
- Follow the prompts to perform the desired operation.
- Exit the application when you are done.
Feel free to explore and manage your product deals efficiently with this console application!