package com.qqchen.deploy.backend.deploy.api;

import com.qqchen.deploy.backend.framework.controller.BaseController;
import com.qqchen.deploy.backend.deploy.entity.JenkinsView;
import com.qqchen.deploy.backend.deploy.dto.JenkinsViewDTO;
import com.qqchen.deploy.backend.deploy.query.JenkinsViewQuery;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import jakarta.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Jenkins视图 Controller
 */
@Slf4j
@RestController
@RequestMapping("/api/v1/jenkins-view")
@Tag(name = "Jenkins视图管理", description = "Jenkins视图管理相关接口")
public class JenkinsViewApiController extends BaseController<JenkinsView, JenkinsViewDTO, Long, JenkinsViewQuery> {
    
    @Override
    protected void exportData(HttpServletResponse response, List<JenkinsViewDTO> data) {
        // TODO: 实现导出逻辑
        log.info("导出Jenkins视图数据，数据量：{}", data.size());
    }
} 