class AccountCodePurposeRepository {

	public AccountCodePurpose findById(AccountCodePurpose accountCodePurpose) {
		AccountCodePurposeEntity entity = accountCodePurposeJdbcRepository
				.findById(new AccountCodePurposeEntity().toEntity(accountCodePurpose));
		return entity.toDomain();

	}

	@Autowired public  AccountCodePurposeRepository(AccountCodePurposeJdbcRepository accountCodePurposeJdbcRepository,
			MastersQueueRepository accountCodePurposeQueueRepository,
			FinancialConfigurationService financialConfigurationService,
			AccountCodePurposeESRepository accountCodePurposeESRepository,
			@Value("${persist.through.kafka}") String persistThroughKafka);

}