package com.clx.performance.mapper.vehiclewarn;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.model.vehiclewarn.VehicleWarnUser;
import com.clx.performance.param.pc.vehiclewarn.PageVehicleWarnUserParam;
import com.clx.performance.sqlProvider.vehiclewarn.VehicleWarnUserSqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

@Mapper
public interface VehicleWarnUserMapper extends BaseMapper<VehicleWarnUser> {
    String TABLE = "vehicle_warn_user";

    /**
     * @see VehicleWarnUserSqlProvider#pageByParam(Page, PageVehicleWarnUserParam)
     */
    @SelectProvider(type = VehicleWarnUserSqlProvider.class, method = "pageByParam")
    IPage<VehicleWarnUser> pageByParam(@Param("page") Page page, @Param("param") PageVehicleWarnUserParam param);

}