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.species.ApiSpeciesPageRequest;
import com.yd.base.feign.response.species.ApiSpeciesPageResponse;
import com.yd.base.service.model.Species;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 规格表 Mapper 接口
 * </p>
 *
 * @author zxm
 * @since 2025-11-20
 */
public interface SpeciesMapper extends BaseMapper<Species> {

    IPage<ApiSpeciesPageResponse> page(@Param("page") Page<ApiSpeciesPageResponse> page,
                                       @Param("request") ApiSpeciesPageRequest request);
}
