package com.yuchen.saas.park.service.mapper.door;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuchen.saas.park.api.dto.door.DoorDeviceEventDTO;
import com.yuchen.saas.park.api.entity.door.DoorDeviceEvent;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 设备事件 Mapper 接口
 * </p>
 *
 * @author miaoqs
 * @since 2023-12-20
 */
public interface DoorDeviceEventMapper extends BaseMapper<DoorDeviceEvent> {

    /**
     * 分页查询
     * @param page
     * @param req
     * @return
     */
    Page<DoorDeviceEvent> paramParam(Page<DoorDeviceEvent> page, @Param("req") DoorDeviceEventDTO req);

}
