package com.pavis.admin.controller.aigc;

import top.continew.starter.extension.crud.enums.Api;

import io.swagger.v3.oas.annotations.tags.Tag;

import org.springframework.web.bind.annotation.*;

import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import com.pavis.admin.common.controller.BaseController;
import com.pavis.admin.aigc.model.query.AppKnowledgeQuery;
import com.pavis.admin.aigc.model.req.AppKnowledgeReq;
import com.pavis.admin.aigc.model.resp.AppKnowledgeDetailResp;
import com.pavis.admin.aigc.model.resp.AppKnowledgeResp;
import com.pavis.admin.aigc.service.AppKnowledgeService;

/**
 * 应用和知识库关联管理 API
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
@Tag(name = "AIGC应用和知识库关联管理 API")
@RestController
@CrudRequestMapping(value = "/aigc/appKnowledge", api = {Api.PAGE, Api.GET, Api.CREATE, Api.UPDATE, Api.DELETE,
    Api.EXPORT})
public class AppKnowledgeController extends BaseController<AppKnowledgeService, AppKnowledgeResp, AppKnowledgeDetailResp, AppKnowledgeQuery, AppKnowledgeReq> {}