package ru.kayashov.karthall.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ru.kayashov.karthall.model.entity.Player;

import java.util.Optional;

public interface PlayerRepository extends JpaRepository<Player, Long> {
    Optional<Player> findByPhoneOrderByEmail(String login);
}