Udpated Compra entity and fixed some spelling mistakes on bd