package com.clx.performance.struct.loan;

import com.clx.performance.model.loan.OwnerRepayment;
import com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO;
import com.clx.performance.vo.pc.loan.owner.OwnerCashierInfoVO;
import com.clx.performance.vo.pc.loan.owner.OwnerOrderPaymentDetailVO;
import com.msl.common.utils.DateStructUtil;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Objects;

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


    OwnerRepaymentVO convert(OwnerRepayment ownerRepayment);

    List<OwnerRepaymentVO> convertList(List<OwnerRepayment> list);

    OwnerCashierInfoVO convertCashierInfo(OwnerRepayment ownerRepayment);

    OwnerOrderPaymentDetailVO convertOrderPaymentDetail(OwnerRepayment ownerRepayment);
}
