package ${basePackage}.<#if isThirdPartyApi!false>api<#else>controller</#if>;

import com.qqchen.deploy.backend.framework.controller.BaseController;
import ${basePackage}.entity.${className};
import ${basePackage}.dto.${className}DTO;
import ${basePackage}.query.${className}Query;
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;

/**
 * ${moduleName} Controller
 */
@Slf4j
@RestController
@RequestMapping("/api/v1/${urlPath}")
@Tag(name = "${moduleName}管理", description = "${moduleName}管理相关接口")
public class ${className}<#if isThirdPartyApi!false>Api</#if>Controller extends BaseController<${className}, ${className}DTO, Long, ${className}Query> {
    
    @Override
    protected void exportData(HttpServletResponse response, List<${className}DTO> data) {
        // TODO: 实现导出逻辑
        log.info("导出${moduleName}数据，数据量：{}", data.size());
    }
} 