package ru.kayashov.bar.repository;

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

import java.util.Optional;

public interface GlassRepository extends JpaRepository<GlassEntity, Integer> {

    Optional<GlassEntity> findByNameIgnoreCase(String enName);
}