package cn.com.liandisys.ycjt.ggcx.ferryship.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.ferryship.model.FerryShip;

public interface FerryShipDao
        extends PagingAndSortingRepository<FerryShip, String>, JpaSpecificationExecutor<FerryShip> {

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

}
