package space.nstart.pcp.pcp_mission_planing_service.repository

import org.springframework.data.jpa.repository.JpaRepository
import space.nstart.pcp.pcp_mission_planing_service.entity.ModeBookingEntity
import java.util.UUID

interface ModeBookingRepository : JpaRepository<ModeBookingEntity, Long> {
    fun findAllByMode_IdIn(modeIds: Collection<Long>): List<ModeBookingEntity>
    fun findAllByMode_Plan_Mission_MissionId(missionId: UUID): List<ModeBookingEntity>
}
