package com.jeesharp.business.modules.marketing.tenantQrcode.convert;

import com.jeesharp.business.modules.marketing.tenantQrcode.entity.MarketingTenantQrcode;
import com.jeesharp.business.modules.marketing.tenantQrcode.vo.MarketingTenantQrcodeCreateResultVO;
import com.jeesharp.business.modules.marketing.tenantQrcode.vo.MarketingTenantQrcodeListVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 店铺推广二维码 MapStruct 转换器。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Mapper
public interface MarketingTenantQrcodeConvert {

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

    MarketingTenantQrcodeListVO toListVO(MarketingTenantQrcode entity);

    List<MarketingTenantQrcodeListVO> toListVOList(List<MarketingTenantQrcode> list);

    MarketingTenantQrcodeCreateResultVO toCreateResultVO(MarketingTenantQrcode entity);
}
