class AccountDetailKeyRepository {

	public AccountDetailKey findById(AccountDetailKey accountDetailKey) {
		AccountDetailKeyEntity entity = accountDetailKeyJdbcRepository
				.findById(new AccountDetailKeyEntity().toEntity(accountDetailKey));
		return entity.toDomain();

	}

	@Autowired public  AccountDetailKeyRepository(AccountDetailKeyJdbcRepository accountDetailKeyJdbcRepository,
			MastersQueueRepository accountDetailKeyQueueRepository,
			FinancialConfigurationService financialConfigurationService,
			AccountDetailKeyESRepository accountDetailKeyESRepository,
			@Value("${persist.through.kafka}") String persistThroughKafka);

}