package com.izouma.jmrh.repo.stat;

import com.izouma.jmrh.domain.stat.BaseStat;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface BaseStatRepo extends JpaRepository<BaseStat, Long>, JpaSpecificationExecutor<BaseStat> {
    Optional<BaseStat> findByCity(String city);
}