package com.clx.performance.struct.loan;

import com.clx.performance.model.loan.OwnerLoanAccount;
import com.clx.performance.vo.pc.OwnerLoanAccountVO;
import com.clx.performance.vo.pc.loan.owner.OwnerAccountVO;
import com.msl.common.utils.DateStructUtil;
import org.mapstruct.Mapper;

import java.util.Objects;

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

public interface OwnerLoanAccountStruct {

    OwnerLoanAccountVO convert(OwnerLoanAccount account);

    OwnerAccountVO convertVO(OwnerLoanAccount account);

}
