package com.zsElectric.boot.business.mapper;

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

/**
 * 广告管理Mapper接口
 *
 * @author wzq
 * @since 2025-11-26 15:57
 */
@Mapper
public interface AdvertisingMapper extends BaseMapper<Advertising> {

    /**
     * 获取广告管理分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<AdvertisingVO>} 广告管理分页列表
     */
    Page<AdvertisingVO> getAdvertisingPage(Page<AdvertisingVO> page, AdvertisingQuery queryParams);

}
