package com.example.removetolocal.oldtrain.dao;

import com.example.removetolocal.oldtrain.DevTrain;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author dengdiyi
 */
public interface DevTrainDao extends JpaRepository<DevTrain, Integer>, JpaSpecificationExecutor<DevTrain> {
    List<DevTrain> findAllByStatus(Integer status);
}
