package de.assecutor.votianlt.repository;

import de.assecutor.votianlt.model.CargoItem;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CargoItemRepository extends MongoRepository<CargoItem, ObjectId> {
    List<CargoItem> findByJobId(ObjectId jobId);
}
