package com.clx.performance.struct.settle;

import com.clx.performance.model.settle.SettlementOrderChildRisk;
import com.clx.performance.vo.pc.carrier.settle.SettlementOrderChildRiskVO;
import com.msl.common.utils.DateStructUtil;
import com.msl.common.utils.DateUtils;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring", uses = DateStructUtil.class, imports = {DateUtils.class})
public interface SettlementOrderChildRiskStruct {

    List<SettlementOrderChildRiskVO> covertList(List<SettlementOrderChildRisk> records);

    SettlementOrderChildRiskVO convert(SettlementOrderChildRisk detail);
}
