package org.marmotlabs.campus.catalog.repository;

import org.marmotlabs.campus.catalog.model.Product;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author Bogdan Minciu
 */
public interface ProductRepository extends JpaRepository<Product, Long> {

    Optional<Product> findById(Long id);

}
