package com.jwipc.order.convert;

import com.jwipc.order.dto.PurchaseOrderBaseDTO;
import com.jwipc.order.dto.PurchaseOrderListDTO;
import com.jwipc.order.dto.PurchaseOrderPrintDTO;
import com.jwipc.order.entity.PurchaseOrder;
import com.jwipc.order.model.po.PurchaseOrderPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface PurchaseOrderConvert {
    List<PurchaseOrderListDTO> entities2Dtos(List<PurchaseOrder> list);

    PurchaseOrderBaseDTO entity2Dto(PurchaseOrder purchaseOrder);

    PurchaseOrderPrintDTO entity2Dto1(PurchaseOrder purchaseOrder);

    List<PurchaseOrderListDTO> Po2Dtos(List<PurchaseOrderPO> list);

    List<PurchaseOrderBaseDTO> entities2Dtos1(List<PurchaseOrder> list);

}
