package com.uas.search.dao;

import com.uas.search.model.PCB;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * PCB
 *
 * @author sunyj
 * @since 2018/4/26 9:09
 */
@Repository
public interface PCBDao extends JpaSpecificationExecutor<PCB>, JpaRepository<PCB, Long> {

    PCB findByProducts_Id(Long productsId);
}
