package com.jasamedika.medifirst2000.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.jasamedika.medifirst2000.entities.PapPengaruhNyeri;

/**
 * Repository class for PAPCatatan
 * 
 * @author Askur
 */
@Repository("PapPengaruhNyeriDao")
public interface PapPengaruhNyeriDao extends PagingAndSortingRepository<PapPengaruhNyeri, String> {
	@Query("select model from PapPengaruhNyeri model where model.papSkriningNyeri.noRec =:noRec")
	public List<PapPengaruhNyeri> findPapSkriningNyeriByNyeri(@Param("noRec") String noRec);

}
