package com.jasamedika.medifirst2000.dao;

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

import com.jasamedika.medifirst2000.entities.KeteranganSurvey;

@Repository("KeteranganSurveyDao")
public interface KeteranganSurveyDao extends PagingAndSortingRepository<KeteranganSurvey, Integer>{
	
	@Query("select count(p.id) from KeteranganSurvey p ")
	public Integer getCount();
	
}
