import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';

export class SearchAssociatesDto {
  @ApiProperty()
  @IsNotEmpty()
  @IsString()
  association_type: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  country_id?: string;

  @ApiPropertyOptional()
  @IsOptional()
  @IsString()
  product_id?: string;
}
