Abstract entity

Create an abstract entity class