created entity class