package it.integry.integrywmsnative.gest.contab_doc_interni;

import dagger.Module;
import dagger.Provides;
import it.integry.integrywmsnative.core.data_store.db.repository.MtbColtRepository;
import it.integry.integrywmsnative.core.rest.consumers.DocumentRESTConsumer;
import it.integry.integrywmsnative.gest.contab_doc_interni.rest.DocInterniRESTConsumer;

@Module(subcomponents = DocInterniComponent.class)
public class DocInterniModule {

    @Provides
    DocInterniViewModel docInterniViewModel(DocInterniRESTConsumer docInterniRESTConsumer, MtbColtRepository mtbColtRepository, DocumentRESTConsumer documentRESTConsumer) {
        return new DocInterniViewModel(docInterniRESTConsumer,mtbColtRepository, documentRESTConsumer);
    }

}
