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

import com.dk.mdm.model.pojo.ivt.Outbound;
import com.dk.mdm.model.response.ivt.OutboundResponse;
import com.dk.mdm.model.vo.ivt.OutboundVO;
import org.mapstruct.Mapper;

/**
 * @desc   : Outbound转换类
 * @author : 付斌
 * @date   : 2024-02-28 10:18
 */
@Mapper(componentModel = "spring")
public interface OutboundConvert {

    /**
     * @desc   : 转换vo为pojo
     * @author : 付斌
     * @date   : 2024-02-28 15:26
     */
    Outbound convertToPo(OutboundVO outboundVO);

    /**
     * @desc   : 转换Res为VO
     * @date   : 2024/3/29 11:11
     * @author : 寇珊珊
     */
    OutboundVO convertResToVO(OutboundResponse outboundResponse);
}
