package org.zheng.demo.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.zheng.demo.entity.Product;

@Repository
public interface ProductRepo extends JpaRepository<Product, Integer> {
	
	List<Product> findByName(String prodName);
}
