Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.89 KB

File metadata and controls

46 lines (36 loc) · 1.89 KB

ConsoleBasedStockManagementUsingOop

A simple console-based stock management system implemented in Java with Object-Oriented Programming (OOP) principles.

Features

  • Article Class:

    • Attributes: Reference number, name, selling price, stock quantity.
    • Constructor for initialization.
    • ToString method for easy representation.
  • Program Functionality:

    1. Search for an article by reference.
    2. Add an article to the stock, ensuring reference uniqueness.
    3. Remove an article by reference.
    4. Modify an article by reference.
    5. Search for an article by name.
    6. Search for an article within a price range.
    7. Display all articles.
    8. Quit the program.
    9. Generate a PDF Report of the products using pdfbox library


    Gestion de Stock en Console

Un système simple de gestion de stock en console implémenté en Java avec les principes de la Programmation Orientée Objet (POO).

Fonctionnalités

  • Classe Article :

    • Attributs : Numéro de référence, nom, prix de vente, quantité en stock.
    • Constructeur pour l'initialisation.
    • Méthode ToString pour une représentation facile.
  • Fonctionnalités du Programme :

    1. Rechercher un article par référence.
    2. Ajouter un article au stock en garantissant l'unicité de la référence.
    3. Supprimer un article par référence.
    4. Modifier un article par référence.
    5. Rechercher un article par nom.
    6. Rechercher un article dans une fourchette de prix.
    7. Afficher tous les articles.
    8. Quitter le programme.
    9. Générer un PDF de la liste de tous les produits en stock avec la librairie pdfbox