import { ApiProperty } from '@nestjs/swagger';
import { ArrayMaxSize, ArrayMinSize, IsArray, IsString } from 'class-validator';

export class CompareIndustrialParksDto {
  @ApiProperty({
    example: ['seed-kcn-001', 'seed-kcn-003', 'seed-kcn-005'],
    description: 'Danh sách ID KCN so sánh (2-5)',
  })
  @IsArray()
  @IsString({ each: true })
  @ArrayMinSize(2)
  @ArrayMaxSize(5)
  ids!: string[];
}
