package com.jwipc.inquiry.convert;

import com.jwipc.inquiry.dto.PurchaseApplyBillApiDTO;
import com.jwipc.inquiry.dto.PurchaseApplyBillDetailApiDTO;
import com.jwipc.inquiry.entity.PurchaseApplyBill;
import com.jwipc.inquiry.entity.PurchaseApplyBillDetail;
import org.mapstruct.Mapper;

/**
 * @author shenyang.ou
 * @date 2024/3/27 13:29
 * @desc
 */
@Mapper(componentModel = "spring")
public interface PurchaseApplyBillApiConvert {
    PurchaseApplyBill dto2Entity(PurchaseApplyBillApiDTO purchaseApplyBillApiDTO);

    PurchaseApplyBillDetail DetailDto2Entity(PurchaseApplyBillDetailApiDTO detail);
}
