Completed setting up a base entity class