package cn.palmte.work.model.process;

import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * @author <a href="https://github.com/TAKETODAY">Harry Yang</a>
 * @since 2.0 2022/12/14 17:13
 */
public interface ProjectProcessRepository extends PagingAndSortingRepository<ProjectProcess, Integer> {

  Page<ProjectProcess> findAll(Example<ProjectProcess> example, Pageable pageable);

  Page<ProjectProcess> findAll(Specification<ProjectProcess> spec, Pageable pageable);
}
