package com.jwipc.sys.client.convert;

import com.jwipc.sys.client.dto.ProductGroupDTO;
import com.jwipc.sys.entity.ProductGroup;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/27 14:22
 * @desc
 */
@Mapper(componentModel = "spring")
public interface ProductGroupClientConvert {
    List<ProductGroupDTO> entities2Dtos(List<ProductGroup> purchaseGroup);

    ProductGroupDTO entities2Dto(ProductGroup purchaseGroup);
}
