package com.jeesharp.business.modules.mall.convert;

import com.jeesharp.business.modules.mall.dto.MallPromotionRuleSaveDTO;
import com.jeesharp.business.modules.mall.entity.MallPromotionRule;
import com.jeesharp.business.modules.mall.vo.MallPromotionRuleInfoVO;
import com.jeesharp.business.modules.mall.vo.MallPromotionRuleListVO;
import com.jeesharp.business.modules.mall.vo.MallPromotionRuleQueryVO;
import com.jeesharp.framework.common.pojo.convert.BasePojoConvert;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 满减/满赠规则转换器
 */
@Mapper
public interface MallPromotionRuleConvert extends BasePojoConvert<MallPromotionRule, MallPromotionRuleSaveDTO, MallPromotionRuleInfoVO, MallPromotionRuleListVO, MallPromotionRuleQueryVO> {

    MallPromotionRuleConvert INSTANCE = Mappers.getMapper(MallPromotionRuleConvert.class);
}
