class AccountDetailTypeRepository {

	public AccountDetailType findById(AccountDetailType accountDetailType) {
		AccountDetailTypeEntity entity = accountDetailTypeJdbcRepository
				.findById(new AccountDetailTypeEntity().toEntity(accountDetailType));
		return entity.toDomain();

	}

	@Autowired public  AccountDetailTypeRepository(AccountDetailTypeJdbcRepository accountDetailTypeJdbcRepository,
			MastersQueueRepository accountDetailTypeQueueRepository,
			FinancialConfigurationService financialConfigurationService,
			AccountDetailTypeESRepository accountDetailTypeESRepository,
			@Value("${persist.through.kafka}") String persistThroughKafka);

}