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

import com.qqchen.deploy.backend.framework.controller.BaseController;
import com.qqchen.deploy.backend.deploy.entity.RepositoryGroup;
import com.qqchen.deploy.backend.deploy.dto.RepositoryGroupDTO;
import com.qqchen.deploy.backend.deploy.query.RepositoryGroupQuery;
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;

/**
 * GIT分组 Controller
 */
@Slf4j
@RestController
@RequestMapping("/api/v1/repo-group")
@Tag(name = "GIT分组管理", description = "GIT分组管理相关接口")
public class RepositoryGroupApiController extends BaseController<RepositoryGroup, RepositoryGroupDTO, Long, RepositoryGroupQuery> {
    
    @Override
    protected void exportData(HttpServletResponse response, List<RepositoryGroupDTO> data) {
        // TODO: 实现导出逻辑
        log.info("导出GIT分组数据，数据量：{}", data.size());
    }
} 