package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsElectric.boot.business.model.entity.UserExchangeIntegralRule;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.query.UserExchangeIntegralRuleQuery;
import com.zsElectric.boot.business.model.vo.UserExchangeIntegralRuleVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 积分兑换规则Mapper接口
 *
 * @author zsElectric
 * @since 2025-12-12 10:07
 */
@Mapper
public interface UserExchangeIntegralRuleMapper extends BaseMapper<UserExchangeIntegralRule> {

    /**
     * 获取积分兑换规则分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<UserExchangeIntegralRuleVO>} 积分兑换规则分页列表
     */
    Page<UserExchangeIntegralRuleVO> getUserExchangeIntegralRulePage(Page<UserExchangeIntegralRuleVO> page, UserExchangeIntegralRuleQuery queryParams);

}
