package com.clx.performance.struct;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.open.sdk.request.action.MslSyncExceptionReportInfoAction;
import com.clx.open.sdk.request.action.SmbSyncExceptionReportInfoAction;
import com.clx.performance.model.OrderChildExceptionReport;
import com.clx.performance.vo.pc.OrderChildExceptionReportVO;
import com.msl.common.utils.DateStructUtil;
import com.msl.common.utils.DateUtils;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring", uses = DateStructUtil.class, imports = {DateUtils.class})
public interface OrderChildExceptionReportStruct {
    OrderChildExceptionReport convertInfoSmbAction(SmbSyncExceptionReportInfoAction action);

    OrderChildExceptionReport convertInfoMslAction(MslSyncExceptionReportInfoAction action);

    Page<OrderChildExceptionReportVO> convertPage(IPage<OrderChildExceptionReport> page);

    OrderChildExceptionReportVO convert(OrderChildExceptionReport report);
}
