package co.yixiang.yshop.module.product.convert.storeproductrelation;

import java.util.*;

import co.yixiang.yshop.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import co.yixiang.yshop.module.product.controller.admin.storeproductrelation.vo.*;
import co.yixiang.yshop.module.product.dal.dataobject.storeproductrelation.StoreProductRelationDO;

/**
 * 商品点赞和收藏 Convert
 *
 * @author yshop
 */
@Mapper
public interface StoreProductRelationConvert {

    StoreProductRelationConvert INSTANCE = Mappers.getMapper(StoreProductRelationConvert.class);

    StoreProductRelationRespVO convert(StoreProductRelationDO bean);

    List<StoreProductRelationRespVO> convertList(List<StoreProductRelationDO> list);

    PageResult<StoreProductRelationRespVO> convertPage(PageResult<StoreProductRelationDO> page);


}
