package com.YuyeTech.HeartRate.repository;

import com.YuyeTech.HeartRate.dataobject.SignIn;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author:slambb
 * @date:2021/8/5
 */
public interface SignInRepository extends JpaRepository<SignIn,Integer> {

    Optional<SignIn> findByUserId(String userId);

}
