13 lines
380 B
Plaintext
13 lines
380 B
Plaintext
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<FoodNutrient, Long> {
|
|
List<FoodNutrient> findByFoodMasterId(Long foodId);
|
|
}
|