package it.integry.integrywmsnative.gest.prod_versamento_materiale;

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.ColliLavorazioneRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.ColliMagazzinoRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.MesRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.PosizioniRESTConsumer;

@Module(subcomponents = ProdVersamentoMaterialeComponent.class)
public class ProdVersamentoMaterialeModule {

    @Provides
    ProdVersamentoMaterialeViewModel providesProdVersamentoMaterialeViewModel(PosizioniRESTConsumer posizioniRESTConsumer,
                                                                              ColliMagazzinoRESTConsumer colliMagazzinoRESTConsumer,
                                                                              ColliLavorazioneRESTConsumer colliLavorazioneRESTConsumer,
                                                                              MesRESTConsumer mesRESTConsumer,
                                                                              BarcodeRESTConsumer barcodeRESTConsumer,
                                                                              ArticoloRESTConsumer articoloRESTConsumer) {
        return new ProdVersamentoMaterialeViewModel(posizioniRESTConsumer, colliMagazzinoRESTConsumer, colliLavorazioneRESTConsumer, mesRESTConsumer, barcodeRESTConsumer, articoloRESTConsumer);
    }

}
