package com.yd.base.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.base.feign.request.category.ApiCategoryPageRequest;
import com.yd.base.feign.response.category.ApiCategoryPageResponse;
import com.yd.base.service.model.Category;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 分类表 Mapper 接口
 * </p>
 *
 * @author zxm
 * @since 2025-11-20
 */
public interface CategoryMapper extends BaseMapper<Category> {

    IPage<ApiCategoryPageResponse> page(@Param("page") Page<ApiCategoryPageResponse> page,
                                        @Param("request") ApiCategoryPageRequest request);
}
