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