package it.integry.integrywmsnative.gest.picking_libero;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import it.integry.integrywmsnative.core.rest.consumers.ArticoloRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.BarcodeRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.ColliMagazzinoRESTConsumer;

@Module(subcomponents = {PickingLiberoComponent.class})
public class PickingLiberoModule {

    @Provides
    @Singleton
    PickingLiberoViewModel providesPickingLiberoViewModel(ArticoloRESTConsumer articoloRESTConsumer,
                                                          ColliMagazzinoRESTConsumer colliMagazzinoRESTConsumer,
                                                          BarcodeRESTConsumer barcodeRESTConsumer) {
        return new PickingLiberoViewModel(articoloRESTConsumer, colliMagazzinoRESTConsumer, barcodeRESTConsumer);
    }
}
