add productName and category to purchase Entity
Product contains only Barcode and (initial) name that does not get updated. type purchase is used through to the db to clean code and increase type safety.
general housekeeping