package com.jwipc.sys.convert;

import com.jwipc.sys.dto.PurchaseGroupDTO;
import com.jwipc.sys.entity.PurchaseGroup;
import com.jwipc.sys.model.param.PurchaseGroupParam;
import com.jwipc.sys.model.po.PurchaseGroupPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface PurchaseGroupConvert {
    List<PurchaseGroupDTO> po2PageListDTO(List<PurchaseGroup> purchaseGroups);

    List<PurchaseGroupDTO> po2PageListDTO1(List<PurchaseGroupPO> purchaseGroupPOS);
    PurchaseGroupDTO po2DTO(PurchaseGroupPO purchaseGroupPO);
    PurchaseGroup param2Entity(PurchaseGroupParam param);
}
