package cn.com.liandisys.ycjt.ggcx.coachBus.dao;

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

import cn.com.liandisys.ycjt.ggcx.coachBus.model.BusMain;

public interface BusMainDao extends PagingAndSortingRepository<BusMain, String>, JpaSpecificationExecutor<BusMain> {

    public Page<BusMain> findAll(Specification<BusMain> spec, Pageable pageable);

}
