package com.jasamedika.medifirst2000.dao;

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

import com.jasamedika.medifirst2000.entities.DraftSuratRuangan;

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