package com.jwipc.contract.convert;

import com.jwipc.contract.dto.ContractDeliveryDTO;
import com.jwipc.contract.dto.ContractDeliveryLookupDTO;
import com.jwipc.contract.dto.ContractDeliverySaveDTO;
import com.jwipc.contract.entity.ContractDelivery;
import org.mapstruct.Mapper;
import java.util.List;

@Mapper(componentModel = "spring")
public interface ContractDeliveryConvert {

    ContractDelivery dto2Entity(ContractDeliverySaveDTO deliveryOrderSaveDTO);

    ContractDeliveryDTO dtoEntity(ContractDelivery contractDelivery);

    ContractDeliveryLookupDTO entity2LookupDTO(ContractDelivery contractDelivery);


    List<ContractDeliveryDTO> entities2Dtos(List<ContractDelivery> list);
}
