package kr.co.accura.wtm.domain.wbs.repository;

import kr.co.accura.wtm.domain.wbs.entity.WbsDisciplineAssignment;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WbsDisciplineAssignmentRepository extends JpaRepository<WbsDisciplineAssignment, Long> {

    List<WbsDisciplineAssignment> findByCanonicalWbs_Id(Long canonicalWbsId);

    List<WbsDisciplineAssignment> findByCanonicalWbs_IdIn(List<Long> canonicalWbsIds);
}
