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

import com.jeesharp.business.modules.mall.dto.MallGiftRuleSaveDTO;
import com.jeesharp.business.modules.mall.entity.MallGiftRule;
import com.jeesharp.business.modules.mall.vo.MallGiftRuleInfoVO;
import com.jeesharp.business.modules.mall.vo.MallGiftRuleListVO;
import com.jeesharp.business.modules.mall.vo.MallGiftRuleQueryVO;
import com.jeesharp.framework.common.pojo.convert.BasePojoConvert;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 赠品规则转换器
 */
@Mapper
public interface MallGiftRuleConvert extends BasePojoConvert<MallGiftRule, MallGiftRuleSaveDTO, MallGiftRuleInfoVO, MallGiftRuleListVO, MallGiftRuleQueryVO> {

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