add dto for entities