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.CouponTemplate;
import com.zsElectric.boot.business.model.form.CouponTemplateForm;

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

    CouponTemplateForm toForm(CouponTemplate entity);

    CouponTemplate toEntity(CouponTemplateForm formData);
}