package com.junmp.jyzb.doc;


import com.junmp.jyzb.api.bean.query.PolicemanFingerReq;
import com.junmp.jyzb.api.bean.req.UpdatePoliceFingerReq;
import com.junmp.jyzb.entity.PoliceFinger;
import com.junmp.v2.common.bean.response.ApiRes;
import com.junmp.v2.db.api.page.PageResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "警员指纹管理",tags = "警员指纹管理接口")
public interface PolicemanFingerDoc {
    @ApiOperation(value = "添加指纹信息", tags = "警员指纹管理接口")
    ApiRes<Integer> addFingerInfo(UpdatePoliceFingerReq req);

    @ApiOperation(value = "修改指纹信息", tags = "警员指纹管理接口")
    ApiRes<Boolean> updateFingerInfo(UpdatePoliceFingerReq req);

    @ApiOperation(value = "查找指纹信息", tags = "警员指纹管理接口")
    ApiRes<List<PoliceFinger>> searchFingerInfo(PolicemanFingerReq req);

    @ApiOperation(value = "删除指纹信息", tags = "警员指纹管理接口")
    ApiRes<Boolean> deletePoliceFinger(UpdatePoliceFingerReq req);

    @ApiOperation(value = "分页", tags = "警员指纹管理接口")
    ApiRes<PageResult<PoliceFinger>> page(PolicemanFingerReq req);
}
