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.PertanyaanSurvey;

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