package com.dk.mdm.infrastructure.convert.ivt;

import com.dk.mdm.model.pojo.ivt.Inbound;
import com.dk.mdm.model.pojo.ivt.IntoReturn;
import com.dk.mdm.model.vo.ivt.InboundItemVO;
import com.dk.mdm.model.vo.ivt.InboundVO;
import com.dk.mdm.model.vo.ivt.IntoReturnVO;
import com.dk.mdm.model.vo.pur.PurchaseItemVO;
import com.dk.mdm.model.vo.pur.PurchaseVO;
import org.mapstruct.Mapper;

/**
 * @desc   : 入库实体类型转换
 * @date   : 2024/3/7 14:30
 * @author : 寇珊珊
 */
@Mapper(componentModel = "spring")
public interface InboundConvert {

    /**
     * @desc   : VO转pojo
     * @date   : 2024/3/7 14:31
     * @author : 寇珊珊
     */
    Inbound convertToPo(InboundVO inboundVO);

    /**
     * @desc   : 采购订单转入库单
     * @date   : 2024/7/4 14:52
     * @author : 寇珊珊
     */
    InboundVO convertPurchaseVOToInboundVO(PurchaseVO purchaseVO);
}
