package com.fkzy.warn.service;

import com.alibaba.fastjson.JSONObject;
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.InvocationRecord;
import com.fkzy.warn.model.User;

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

    /**
     * 保存
     * @param entity
     * @return
     */
    ApiResponse saveModel(InvocationRecord entity);

    /**
     * 修改
     * @param entity
     * @return
     */
    boolean updateModel(InvocationRecord entity);

    /**
     * 删除
     * @param entity
     * @return
     */
    boolean deleteModel(InvocationRecord entity);

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



}
