package com.YuyeTech.HeartRate.game.TP_AppleInfo.repository;

import com.YuyeTech.HeartRate.common.repository.CommonRepository;
import com.YuyeTech.HeartRate.game.TP_AppleInfo.projo.AppleInfo;

import java.util.Optional;

/**
 * @author:slambb
 * @date:2020/6/4
 */
// extends JpaRepository<AppleInfo,String>
public interface AppleInfoServiceRepository extends CommonRepository<AppleInfo,String> {

    Optional<AppleInfo> findByAppleId(String appleId);

    Optional<AppleInfo> findByUserId(String userId);
}
