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

import com.jeesharp.business.modules.coupon.dto.CouponTemplateSaveDTO;
import com.jeesharp.business.modules.coupon.entity.CouponTemplate;
import com.jeesharp.business.modules.coupon.vo.CouponTemplateInfoVO;
import com.jeesharp.business.modules.coupon.vo.CouponTemplateListVO;
import com.jeesharp.business.modules.coupon.vo.CouponTemplateQueryVO;
import com.jeesharp.framework.common.pojo.convert.BasePojoConvert;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 优惠券模板 MapStruct 转换器，基础字段由 {@link BasePojoConvert} 映射；展示名在应用层补充。
 *
 * @author jeesharp
 * @since 2026-05-07
 */
@Mapper
public interface CouponTemplateConvert
        extends BasePojoConvert<CouponTemplate, CouponTemplateSaveDTO, CouponTemplateInfoVO, CouponTemplateListVO, CouponTemplateQueryVO> {

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