package com.dk.mdm.infrastructure.convert.pur;

import com.dk.mdm.model.vo.pur.PurchaseVO;
import com.dk.mdm.model.pojo.pur.Purchase;
import org.mapstruct.Mapper;

/**
 * @desc   : PurChase转换类
 * @author : 常皓宁
 * @date   : 2024/2/28 11:08
 */
@Mapper(componentModel = "spring")
public interface PurChaseConvert {

    /**
     * @desc   : 转换vo为pojo
     * @author : 常皓宁
     * @date   : 2024/2/28 11:09
     */
    Purchase convertToPo(PurchaseVO purchaseVO);
}
