package cn.reghao.autodop.dmaster.app.db.repository.config.build;

import cn.reghao.autodop.dmaster.app.model.po.config.build.PackerConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author reghao
 * @date 2020-01-21 14:53:03
 */
public interface PackerConfigRepository
        extends JpaRepository<PackerConfig, Integer>, JpaSpecificationExecutor<PackerConfig> {
    PackerConfig findByName(String name);
    List<PackerConfig> findAllByIsDeleteFalse();
}
