package com.jasamedika.medifirst2000.dao;

import java.util.List;

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

import com.jasamedika.medifirst2000.entities.Bibliography;

/**
 * Repository class for Bibliography
 * 
 * @author Generator
 */
@Repository("BibliographyDao")
public interface BibliographyDao extends PagingAndSortingRepository<Bibliography, String> {

	List<Bibliography> findByJudulBukuContaining(String nama);

	List<Bibliography> findByJudulBukuContainingOrNamaPengarangContaining(String nama, String namaPengarang);
	
	
}
