package com.izouma.jmrh.repo.stat;

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

import java.util.Optional;

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