import { Controller, Get } from '@nestjs/common';
import { ApiTags, ApiOperation } from '@nestjs/swagger';

@ApiTags('默认')
@Controller()
export class AppController {
  @Get()
  @ApiOperation({ summary: '健康检查' })
  getHealth() {
    return {
      service: 'rent-platform-api',
      version: '1.0.0',
      timestamp: new Date().toISOString(),
    };
  }
}
