I am creating a system and in it I will create a control of inventory of products, where I will have to manage the entry and exit of products and verify the quantity of products in each transaction of entry and exit. I would like an opinion on the model, if the way I did is correct.