package net.shyshkin.study.fullstack.supportportal.backend.repository;

import java.util.Optional;

import org.springframework.data.jpa.repository.JpaRepository;

import net.shyshkin.study.fullstack.supportportal.backend.domain.ConferenceData;

// import org.springframework.data.rest.core.annotation.RepositoryRestResource;


// @RepositoryRestResource(path = "conferences")
public interface ConferenceDataRepository extends JpaRepository<ConferenceData, Long> {
    Optional<ConferenceData> findByPhone(String phone); // Change 'phone' to your actual field name
}
