add entity class method impl