5. Conception - GeeKh04/my-stock GitHub Wiki

User authentication

sequence diagram

We start with this authentication scenario. after the user has entered the data, the system sends its data to the server for authentication, if the latter returns a success, the system saves the data for the next use and displays the menu interface. otherwise the system displays an error message.

Search Item

sequence diagram

Now let's go to the search sequence diagram. The storekeeper can perform a search, if the item has a bar code the storekeeper scans this code otherwise he enters the item code then the warehouse code in order that the system is updated from the server And displays the item information if it is found otherwise it displays article not found.

Activity diagram: Authentication

activity diagram

The authentication process can be summarized in the following activity diagram.

Class diagram

class diagram

The overall class diagram of the system shows a set of classes, objects and the relationships between them. We will focus on the most important: The 1st user class represents the storekeeper by specifying his identification information. the latter can manage one or more establishments which are made up of one or more deposits. the deposit contains 1 or more categories, the category have 1 or more Families, the family includes 1 or more Sub Families, and the sub family has 1 or more Items, and finally items can have a barcode.