Split entity interface and baseEntity struct.