package com.YuyeTech.HeartRate.repository;

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

import java.util.Optional;

/**
 * @author:slambb
 * @date:2020/9/16
 */
public interface ClientInfoRepository extends JpaRepository<ClientInfo,Integer> {

    Optional<ClientInfo> findByUserId(String userId);

}
