2026-06-26 20b96473f2520590a0dca6b775b81e3ea06a77a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package cn.iocoder.yudao.module.product.convert.brand;
 
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.product.controller.admin.brand.vo.ProductBrandCreateReqVO;
import cn.iocoder.yudao.module.product.controller.admin.brand.vo.ProductBrandRespVO;
import cn.iocoder.yudao.module.product.controller.admin.brand.vo.ProductBrandSimpleRespVO;
import cn.iocoder.yudao.module.product.controller.admin.brand.vo.ProductBrandUpdateReqVO;
import cn.iocoder.yudao.module.product.dal.dataobject.brand.ProductBrandDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
 
import java.util.List;
 
/**
 * 品牌 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ProductBrandConvert {
 
    ProductBrandConvert INSTANCE = Mappers.getMapper(ProductBrandConvert.class);
 
    ProductBrandDO convert(ProductBrandCreateReqVO bean);
 
    ProductBrandDO convert(ProductBrandUpdateReqVO bean);
 
    ProductBrandRespVO convert(ProductBrandDO bean);
 
    List<ProductBrandSimpleRespVO> convertList1(List<ProductBrandDO> list);
 
    List<ProductBrandRespVO> convertList(List<ProductBrandDO> list);
 
    PageResult<ProductBrandRespVO> convertPage(PageResult<ProductBrandDO> page);
 
}