package com.jwipc.shopping.convert;

import com.jwipc.shopping.dto.OnlineMallResponseDTO;
import com.jwipc.shopping.dto.ShoppingAfterSalesDTO;
import com.jwipc.shopping.dto.ShoppingAfterSalesInfoDTO;
import com.jwipc.shopping.entity.ShoppingAfterSales;
import com.jwipc.shopping.entity.ShoppingAfterSalesInfo;
import com.jwipc.shopping.model.vo.OnlineMallCart;
import com.jwipc.shopping.model.vo.OnlineMallResponse;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 功能描述:
 *
 * @Author: zx
 * @Date: 2024/3/7 0007 17:24
 */
@Mapper(componentModel = "spring")
public interface OnlineMallConvert {

    OnlineMallResponseDTO entitiesPoToDto(OnlineMallResponse list);


    List<OnlineMallCart> po2PageListDTO(List<OnlineMallCart> quotaManagementPOS);

    ShoppingAfterSales dtoToEntity(ShoppingAfterSalesDTO param);

    ShoppingAfterSalesInfo DTO2Entity(ShoppingAfterSalesInfoDTO shoppingAfterSalesInfoDTO);
}
