add entity to dto constructor