package de.assecutor.votianlt.repository;

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

import java.util.List;

@Repository
public interface BarcodeRepository extends MongoRepository<Barcode, ObjectId> {
    List<Barcode> findByTaskId(ObjectId taskId);
}