// apps/box-app-api/src/feature/ads/dto/ad-url-response.dto.ts import { ApiProperty } from '@nestjs/swagger'; export class AdUrlResponseDto { @ApiProperty({ description: '广告ID', example: '507f1f77bcf86cd799439011' }) adsId: string; @ApiProperty({ description: '广告链接URL', example: 'https://example.com/ad', nullable: true, }) adsUrl: string | null; }