Add toString to base entity