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

import com.dk.mdm.model.pojo.ivt.InOutRecord;
import com.dk.mdm.model.pojo.ivt.Inventory;
import com.dk.mdm.model.vo.ivt.InOutRecordVO;
import com.dk.mdm.model.vo.ivt.InventoryVO;
import org.mapstruct.Mapper;

/**
 * @desc   : 库存实体类型转换
 * @date   : 2024/3/21 14:48
 * @author : 寇珊珊
 */
@Mapper(componentModel = "spring")
public interface InventoryConvert {

    /**
     * @desc   : pojo转VO
     * @date   : 2024/3/7 14:31
     * @author : 寇珊珊
     */
    InventoryVO convertToVO(Inventory inventory);

    /**
     * @desc   : VO转pojo
     * @date   : 2024/3/7 14:31
     * @author : 寇珊珊
     */
    Inventory convertToPo(InventoryVO inventoryVO);


}
