package com.jasamedika.medifirst2000.dao;

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

import com.jasamedika.medifirst2000.entities.JenisDiet;

/**
 * Repository class for JenisDiet
 * 
 * @author Adik
 */
@Repository("JenisDietDao")
public interface JenisDietDao extends PagingAndSortingRepository<JenisDiet, Integer>,JpaSpecificationExecutor{
	// custom query
//	@Query("Select coalesce(j.kdJenisDiet,'0000000') from JenisDiet j Order by j.id desc limit 1")
//	public String countJenis();
	
}
