package com.fkzy.warn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fkzy.warn.common.request.RequestParameter;
import com.fkzy.warn.common.response.ApiResponse;
import com.fkzy.warn.model.MonitorUsers;

import java.util.List;

/**
 * @author zhangjing
 * @date 2023/10/16 18:17
 * @description
 */
public interface MonitorUsersService extends IService<MonitorUsers> {

    /**
     * 保存
     * @param entity
     * @return
     */
    ApiResponse saveModel(MonitorUsers entity, String ticket);

    /**
     * 修改
     * @param entity
     * @return
     */
    ApiResponse updateModel(MonitorUsers entity,String ticket);

    /**
     * 删除
     * @param ids
     * @return
     */
    ApiResponse deleteModel(List<String> ids);

    /**
     * 分页查询
     * @param parameter
     * @return
     */
    Page<MonitorUsers> queryPage(RequestParameter parameter);

    /**
     * 查询监控数据
     * @param
     * @return
     */
    void checkMonitor();

}
