package de.votian.services.repository;

import de.votian.services.entity.Address;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;

public interface AddressRepository extends JpaRepository<Address, Long> {

    Optional<Address> findByStreetAndZipcodeAndCityAndCountry(
            String street, String zipcode, String city, String country);
}
