package com.hys.app.converter.erp;

import com.hys.app.framework.database.WebPage;
import com.hys.app.model.erp.dos.WarehouseOutItemDO;
import com.hys.app.model.erp.vo.WarehouseOutItemVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

import java.util.List;

/**
 * 出库单商品明细 Convert
 *
 * @author 张崧
 * @since 2023-12-07 17:06:32
 */
@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface WarehouseOutItemConverter {

    WarehouseOutItemVO convert(WarehouseOutItemDO warehouseOutItemDO);

    List<WarehouseOutItemVO> convert(List<WarehouseOutItemDO> list);

    WebPage<WarehouseOutItemVO> convert(WebPage<WarehouseOutItemDO> webPage);
}

