package cn.newfeifan.mall.module.crm.convert.businessproduct;

import cn.newfeifan.mall.module.crm.controller.admin.business.vo.product.CrmBusinessProductSaveReqVO;
import cn.newfeifan.mall.module.crm.dal.dataobject.business.CrmBusinessProductDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

// TODO @lzxhqs：看看是不是用 BeanUtils 替代了
/**
 * @author lzxhqs
 * @version 1.0
 * @title CrmBusinessProductConvert
 * @description
 * @create 2024/1/12
 */
@Mapper
public interface CrmBusinessProductConvert {
    CrmBusinessProductConvert INSTANCE = Mappers.getMapper(CrmBusinessProductConvert.class);

    CrmBusinessProductDO convert(CrmBusinessProductSaveReqVO product);
}
