package com.iqser.red.service.persistence.management.v1.processor.utils;

import java.util.function.BiConsumer;

import com.iqser.red.service.persistence.management.v1.processor.entity.configuration.TypeEntity;
import com.iqser.red.service.persistence.service.v1.api.shared.model.TypeValue;
import com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate.type.Type;

public class TypeMapper implements BiConsumer<TypeEntity, Type> {

    @Override
    public void accept(TypeEntity typeEntity, Type type) {

        type.setDossierTemplateId(typeEntity.getDossierTemplate().getId());

    }

}
