package it.integry.integrywmsnative.gest.inventario.picking;

import dagger.Module;
import dagger.Provides;
import it.integry.integrywmsnative.core.data_store.db.respository_new.InventarioRepository;
import it.integry.integrywmsnative.core.data_store.db.respository_new.InventarioRowRepository;
import it.integry.integrywmsnative.core.rest.consumers.BarcodeRESTConsumer;

@Module(subcomponents = PickingInventarioComponent.class)
public class PickingInventarioModule {

    @Provides
    PickingInventarioViewModel providesPickingInventarioViewModel(InventarioRepository inventarioRepository,
                                                                  InventarioRowRepository inventarioRowRepository,
                                                                  BarcodeRESTConsumer barcodeRESTConsumer) {
        return new PickingInventarioViewModel(inventarioRepository, inventarioRowRepository, barcodeRESTConsumer);
    }

}