ad-url-response.dto.ts 386 B

1234567891011121314
  1. // apps/box-app-api/src/feature/ads/dto/ad-url-response.dto.ts
  2. import { ApiProperty } from '@nestjs/swagger';
  3. export class AdUrlResponseDto {
  4. @ApiProperty({ description: '广告ID', example: '507f1f77bcf86cd799439011' })
  5. adsId: string;
  6. @ApiProperty({
  7. description: '广告链接URL',
  8. example: 'https://example.com/ad',
  9. nullable: true,
  10. })
  11. adsUrl: string | null;
  12. }