package ru.kayashov.bar.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ru.kayashov.bar.model.entity.Visitor;

import java.util.Optional;

public interface VisitorsRepository extends JpaRepository<Visitor, Long> {

    Optional<Visitor> findByLogin(String login);
}