package com.zsElectric.boot.business.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.entity.PromotionCouponTemplate;
import com.zsElectric.boot.business.model.form.PromotionCouponTemplateForm;

/**
 * 优惠劵模板对象转换器
 *
 * @author zsElectric
 * @since 2025-12-12 15:11
 */
@Mapper(componentModel = "spring")
public interface PromotionCouponTemplateConverter{

    PromotionCouponTemplateForm toForm(PromotionCouponTemplate entity);

    PromotionCouponTemplate toEntity(PromotionCouponTemplateForm formData);
}