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


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