package com.jwipc.order.convert;

import com.jwipc.order.dto.PurchaseOrderBomDTO;
import com.jwipc.order.entity.PurchaseOrderBom;
import com.jwipc.order.model.po.PurchaseOrderBomPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface PurchaseOrderBomConvert {
    List<PurchaseOrderBomDTO> po2PageListDTO(List<PurchaseOrderBomPO> purchaseOrderBomPOS);

//    List<PurchaseGroupDTO> po2PageListDTO1(List<PurchaseOrgPO> purchaseOrgPOS);
    PurchaseOrderBomDTO po2DTO(PurchaseOrderBomPO purchaseOrderBomPOPO);
    PurchaseOrderBom param2Entity(PurchaseOrderBomDTO param);
}
