import { Module } from '@nestjs/common';
import { PlantingOrderController } from './controllers/planting-order.controller';
import { PlantingPositionController } from './controllers/planting-position.controller';
import { PlantingStatsController } from './controllers/planting-stats.controller';
import { HealthController } from './controllers/health.controller';
import {
  ContractSigningController,
  ContractSigningConfigController,
} from './controllers/contract-signing.controller';
// [2026-02-05] 新增：合同管理内部 API
import { ContractAdminController } from './controllers/contract-admin.controller';
// [纯新增] 转让内部 API
import { InternalTransferController } from './controllers/internal-transfer.controller';
import { ApplicationModule } from '../application/application.module';
import { JwtAuthGuard } from './guards/jwt-auth.guard';

@Module({
  imports: [ApplicationModule],
  controllers: [
    PlantingOrderController,
    PlantingPositionController,
    PlantingStatsController,
    HealthController,
    ContractSigningController,
    ContractSigningConfigController,
    // [2026-02-05] 新增：合同管理内部 API
    ContractAdminController,
    // [纯新增] 转让内部 API
    InternalTransferController,
  ],
  providers: [JwtAuthGuard],
})
export class ApiModule {}
