entity class