package cn.reghao.bnt.web.devops.build.db.repository;

import cn.reghao.bnt.web.devops.build.model.po.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> findAllByDeletedFalse();
}
