adapt old entity code to the project