package com.artfess.rescue.patrol.controller;


import com.artfess.base.annotation.ApiGroup;
import com.artfess.base.constants.ApiGroupConsts;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.artfess.base.controller.BaseController;
import com.artfess.rescue.patrol.model.BizInspectionVideoTask;
import com.artfess.rescue.patrol.manager.BizInspectionVideoTaskManager;

/**
 * 视频巡检任务表 前端控制器
 *
 * @company 阿特菲斯信息技术有限公司
 * @author 系统管理员
 * @since 2024-08-02
 */
@RestController
@RequestMapping("/patrol/bizInspectionVideoTask/v1/")
@Api(tags = "视频巡检任务")
@ApiGroup(group = {ApiGroupConsts.GROUP_BIZ_RESCUE})
public class BizInspectionVideoTaskController extends BaseController<BizInspectionVideoTaskManager, BizInspectionVideoTask> {

    @GetMapping("/{id}")
    @ApiOperation("根据id查询实体")
    @Override
    public BizInspectionVideoTask getById(@ApiParam(name = "id", value = "实体id") @PathVariable String id) {
        return baseService.getInfoById(id);
    }
}
