Added output record as an entity class