package com.healthcare.ohctech.repository; import com.healthcare.ohctech.entity.FoodNutrient; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface FoodNutrientRepo extends JpaRepository { List findByFoodMasterId(Long foodId); }