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

/**
 * 积分兑换规则对象转换器
 *
 * @author zsElectric
 * @since 2025-12-12 10:07
 */
@Mapper(componentModel = "spring")
public interface UserExchangeIntegralRuleConverter{

    UserExchangeIntegralRuleForm toForm(UserExchangeIntegralRule entity);

    UserExchangeIntegralRule toEntity(UserExchangeIntegralRuleForm formData);
}