package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsElectric.boot.business.model.entity.PromotionCouponTemplate;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.query.PromotionCouponTemplateQuery;
import com.zsElectric.boot.business.model.vo.PromotionCouponTemplateVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 优惠劵模板Mapper接口
 *
 * @author zsElectric
 * @since 2025-12-12 15:11
 */
@Mapper
public interface PromotionCouponTemplateMapper extends BaseMapper<PromotionCouponTemplate> {

    /**
     * 获取优惠劵模板分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<PromotionCouponTemplateVO>} 优惠劵模板分页列表
     */
    Page<PromotionCouponTemplateVO> getPromotionCouponTemplatePage(Page<PromotionCouponTemplateVO> page,@Param("queryParams") PromotionCouponTemplateQuery queryParams);

}
