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

import com.dk.mdm.model.pojo.ivt.InventoryBatch;
import com.dk.mdm.model.vo.ivt.InventoryBatchVO;
import org.mapstruct.Mapper;

/**
 * @desc   : 存货批次明细实体类型转换
 * @date   : 2024/3/21 14:48
 * @author : 寇珊珊
 */
@Mapper(componentModel = "spring")
public interface InventoryBatchConvert {

    /**
     * @desc   : VO转pojo
     * @date   : 2024/3/7 14:31
     * @author : 寇珊珊
     */
    InventoryBatch convertToPo(InventoryBatchVO inventoryBatchVO);


    /**
     * @desc   : pojo转VO
     * @date   : 2024/3/22 14:37
     * @author : 寇珊珊
     */
    InventoryBatchVO convertToVO(InventoryBatch inventoryBatch);
}
