package com.izouma.dingdong.repo;

import com.izouma.dingdong.domain.UserSig;
import org.springframework.data.jpa.repository.JpaRepository;

import java.time.LocalDateTime;


public interface UserSigRepo extends JpaRepository<UserSig, Long> {

    UserSig findLastByUserIdAndExpiresAtAfter(String userId, LocalDateTime time);

}
