package com.jwipc.sys.convert;

import com.jwipc.sys.dto.LogThirdPartyCallDTO;
import com.jwipc.sys.dto.LogThirdPartyInterfaceDTO;
import com.jwipc.sys.entity.LogThirdPartyCall;
import com.jwipc.sys.entity.LogThirdPartyInterface;
import com.jwipc.sys.model.po.LogThirdPartyCallPO;
import com.jwipc.sys.model.po.LogThirdPartyInterfacePO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/1/30 16:04
 * @desc
 */
@Mapper(componentModel = "spring")
public interface ThirdLogConvert {
    List<LogThirdPartyInterfaceDTO> po2DTOList(List<LogThirdPartyInterfacePO> sapLogInfoPOS);

    LogThirdPartyInterfaceDTO entity2DTO(LogThirdPartyInterface logThirdPartyInterface);

    LogThirdPartyCallDTO callEntity2DTO(LogThirdPartyCall logThirdPartyCall);

    List<LogThirdPartyCallDTO> callPO2DTOList(List<LogThirdPartyCallPO> sapLogInfoPOS);
}
