class RecoveryRepository {

    public Recovery findById(Recovery recovery) {
        RecoveryEntity entity = recoveryJdbcRepository.findById(new RecoveryEntity().toEntity(recovery));
        return entity.toDomain();

    }

    @Autowired public  RecoveryRepository(MastersQueueRepository recoveryQueueRepository, FinancialConfigurationService financialConfigurationService,
                              @Value("${persist.through.kafka}") String persistThroughKafka,
                              RecoveryJdbcRepository recoveryJdbcRepository,
                              RecoveryESRepository recoveryESRepository);

}